mirror of
https://github.com/cuigh/swirl
synced 2025-01-31 06:47:11 +00:00
Add a flag for administrators
This commit is contained in:
parent
1f652bb6f3
commit
db278dbe18
@ -80,7 +80,7 @@
|
||||
<tbody>
|
||||
{{range .Users}}
|
||||
<tr data-id="{{.ID}}">
|
||||
<td><a href="{{.LoginName}}/detail">{{.Name}}</a></td>
|
||||
<td><a href="{{.LoginName}}/detail">{{.Name}}</a>{{ if .Admin }}<span class="icon has-text-danger tooltip" data-tooltip="Administrator"><i class="fa fa-flag"></i></span>{{ end }}</td>
|
||||
<td>{{.LoginName}}</td>
|
||||
<td>{{.Email}}</td>
|
||||
<td>{{.Type}}</td>
|
||||
|
Loading…
Reference in New Issue
Block a user