Revise admin options in member directory
This commit is contained in:
parent
1c01aad80f
commit
2f997dfee0
|
@ -94,6 +94,7 @@
|
||||||
<option value="true">All certified members</option>
|
<option value="true">All certified members</option>
|
||||||
{{if .CurrentUser.IsAdmin}}
|
{{if .CurrentUser.IsAdmin}}
|
||||||
<option value="false"{{if eq $Root.Certified "false"}} selected{{end}}>☮ Non-certified only</option>
|
<option value="false"{{if eq $Root.Certified "false"}} selected{{end}}>☮ Non-certified only</option>
|
||||||
|
<option value="all"{{if eq $Root.Certified "all"}} selected{{end}}>☮ Show all users</option>
|
||||||
{{end}}
|
{{end}}
|
||||||
</optgroup>
|
</optgroup>
|
||||||
<optgroup label="Profile Status">
|
<optgroup label="Profile Status">
|
||||||
|
@ -107,7 +108,6 @@
|
||||||
<optgroup label="Admin Options">
|
<optgroup label="Admin Options">
|
||||||
<option value="banned"{{if eq $Root.Certified "banned"}} selected{{end}}>☮ Banned</option>
|
<option value="banned"{{if eq $Root.Certified "banned"}} selected{{end}}>☮ Banned</option>
|
||||||
<option value="disabled"{{if eq $Root.Certified "disabled"}} selected{{end}}>☮ Disabled</option>
|
<option value="disabled"{{if eq $Root.Certified "disabled"}} selected{{end}}>☮ Disabled</option>
|
||||||
<option value="all"{{if eq $Root.Certified "all"}} selected{{end}}>Show all users</option>
|
|
||||||
</optgroup>
|
</optgroup>
|
||||||
{{end}}
|
{{end}}
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user