Localised the group ranks in the group editor.
This commit is contained in:
parent
a365e42dcf
commit
f6ab754743
|
@ -684,6 +684,11 @@
|
||||||
|
|
||||||
"panel_groups_head":"Groups",
|
"panel_groups_head":"Groups",
|
||||||
"panel_groups_rank_prefix":"Rank ",
|
"panel_groups_rank_prefix":"Rank ",
|
||||||
|
"panel_groups_rank_guest":"Guest",
|
||||||
|
"panel_groups_rank_member":"Member",
|
||||||
|
"panel_groups_rank_mod":"Mod",
|
||||||
|
"panel_groups_rank_admin":"Admin",
|
||||||
|
"panel_groups_rank_banned":"Banned",
|
||||||
"panel_groups_edit_group_button_aria":"Edit Group",
|
"panel_groups_edit_group_button_aria":"Edit Group",
|
||||||
"panel_groups_create_head":"Create Group",
|
"panel_groups_create_head":"Create Group",
|
||||||
"panel_groups_create_name":"Name",
|
"panel_groups_create_name":"Name",
|
||||||
|
|
|
@ -26,11 +26,11 @@
|
||||||
<div class="formitem formlabel"><a>{{lang "panel_group_type"}}</a></div>
|
<div class="formitem formlabel"><a>{{lang "panel_group_type"}}</a></div>
|
||||||
<div class="formitem">
|
<div class="formitem">
|
||||||
<select name="group-type"{{if .DisableRank}} disabled{{end}}>
|
<select name="group-type"{{if .DisableRank}} disabled{{end}}>
|
||||||
<option{{if eq .Rank "Guest"}} selected{{end}} disabled>Guest</option>
|
<option value="Guest"{{if eq .Rank "Guest"}} selected{{end}} disabled>{{lang "panel_groups_rank_guest"}}</option>
|
||||||
<option{{if eq .Rank "Member"}} selected{{end}}>Member</option>
|
<option value="Member"{{if eq .Rank "Member"}} selected{{end}}>{{lang "panel_groups_rank_member"}}</option>
|
||||||
<option{{if eq .Rank "Mod"}} selected{{end}}{{if not .CurrentUser.Perms.EditGroupSuperMod}} disabled{{end}}>Mod</option>
|
<option value="Mod"{{if eq .Rank "Mod"}} selected{{end}}{{if not .CurrentUser.Perms.EditGroupSuperMod}} disabled{{end}}>{{lang "panel_groups_rank_mod"}}</option>
|
||||||
<option{{if eq .Rank "Admin"}} selected{{end}}{{if not .CurrentUser.Perms.EditGroupAdmin}} disabled{{end}}>Admin</option>
|
<option value="Admin"{{if eq .Rank "Admin"}} selected{{end}}{{if not .CurrentUser.Perms.EditGroupAdmin}} disabled{{end}}>{{lang "panel_groups_rank_admin"}}</option>
|
||||||
<option{{if eq .Rank "Banned"}} selected{{end}}>Banned</option>
|
<option value="Banned"{{if eq .Rank "Banned"}} selected{{end}}>{{lang "panel_groups_rank_banned"}}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>{{end}}
|
</div>{{end}}
|
||||||
|
|
Loading…
Reference in New Issue