show admin and moderator tags on members list
This commit is contained in:
parent
26ce19f1eb
commit
f6a24921eb
@ -44,6 +44,11 @@
|
||||
{{range $member.Aliases}}
|
||||
<span class="mr-1 text-purple-800 bg-purple-100 rounded-lg px-2">{{.Name}}</span>
|
||||
{{end}}
|
||||
{{if eq .Role 2}}
|
||||
<span class="text-green-800 bg-green-100 border-green-800 rounded-lg px-2">{{i18n "RoleModerator"}}</span>
|
||||
{{else if eq .Role 3}}
|
||||
<span class="text-yellow-800 bg-yellow-100 border-yellow-800 rounded-lg px-2">{{i18n "RoleAdmin"}}</span>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user