mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: admin trust level user list URL should be consistent with new naming
This commit is contained in:
parent
c7aaa56918
commit
db2799507b
5 changed files with 11 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
<td class="title">{{report.title}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'newuser'}}{{value-at-tl report.data level="0"}}{{/link-to}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'basic'}}{{value-at-tl report.data level="1"}}{{/link-to}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'regular'}}{{value-at-tl report.data level="2"}}{{/link-to}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'leader'}}{{value-at-tl report.data level="3"}}{{/link-to}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'elder'}}{{value-at-tl report.data level="4"}}{{/link-to}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'member'}}{{value-at-tl report.data level="2"}}{{/link-to}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'regular'}}{{value-at-tl report.data level="3"}}{{/link-to}}</td>
|
||||
<td class="value">{{#link-to 'adminUsersList.show' 'leader'}}{{value-at-tl report.data level="4"}}{{/link-to}}</td>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class='span15'>
|
||||
<ul class="nav nav-pills">
|
||||
<li>{{#link-to 'adminUser' model}}<i class="fa fa-caret-left"></i> {{model.username}}{{/link-to}}</li>
|
||||
<li>{{#link-to 'adminUsersList.show' 'regular'}}{{i18n 'admin.user.trust_level_2_users'}}{{/link-to}}</li>
|
||||
<li>{{#link-to 'adminUsersList.show' 'member'}}{{i18n 'admin.user.trust_level_2_users'}}{{/link-to}}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2303,9 +2303,9 @@ en:
|
|||
pending: 'Users Pending Review'
|
||||
newuser: 'Users at Trust Level 0 (New User)'
|
||||
basic: 'Users at Trust Level 1 (Basic User)'
|
||||
regular: 'Users at Trust Level 2 (Member)'
|
||||
leader: 'Users at Trust Level 3 (Regular)'
|
||||
elder: 'Users at Trust Level 4 (Leader)'
|
||||
member: 'Users at Trust Level 2 (Member)'
|
||||
regular: 'Users at Trust Level 3 (Regular)'
|
||||
leader: 'Users at Trust Level 4 (Leader)'
|
||||
staff: "Staff"
|
||||
admins: 'Admin Users'
|
||||
moderators: 'Moderators'
|
||||
|
|
|
@ -367,11 +367,11 @@ en:
|
|||
title: "new user"
|
||||
basic:
|
||||
title: "basic user"
|
||||
regular:
|
||||
member:
|
||||
title: "member"
|
||||
leader:
|
||||
regular:
|
||||
title: "regular"
|
||||
elder:
|
||||
leader:
|
||||
title: "leader"
|
||||
change_failed_explanation: "You attempted to demote %{user_name} to '%{new_trust_level}'. However their trust level is already '%{current_trust_level}'. %{user_name} will remain at '%{current_trust_level}' - if you wish to demote user lock trust level first"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ class TrustLevel
|
|||
end
|
||||
|
||||
def levels
|
||||
@levels ||= Enum.new(:newuser, :basic, :regular, :leader, :elder, start: 0)
|
||||
@levels ||= Enum.new(:newuser, :basic, :member, :regular, :leader, start: 0)
|
||||
end
|
||||
|
||||
def all
|
||||
|
|
Loading…
Reference in a new issue