Revise admin options in member directory

This commit is contained in:
Noah Petherbridge 2024-07-09 22:27:24 -07:00
parent 1c01aad80f
commit 2f997dfee0

View File

@ -94,6 +94,7 @@
<option value="true">All certified members</option>
{{if .CurrentUser.IsAdmin}}
<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}}
</optgroup>
<optgroup label="Profile Status">
@ -107,7 +108,6 @@
<optgroup label="Admin Options">
<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="all"{{if eq $Root.Certified "all"}} selected{{end}}>Show all users</option>
</optgroup>
{{end}}
</select>