Browse Source

Account label will show red if it is suspended

Yoginth 7 years ago
parent
commit
1a4b2b8a59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/admin/user/list.tmpl

+ 1 - 1
templates/admin/user/list.tmpl

@@ -32,7 +32,7 @@
 								<tr>
 								<tr>
 									<td>{{.ID}}</td>
 									<td>{{.ID}}</td>
 									<td>
 									<td>
-										<a class="ui image label" href="{{AppSubURL}}/{{.Name}}">
+										<a class="ui image label {{if .Suspended}}red{{end}}" href="{{AppSubURL}}/{{.Name}}">
 											<img src="{{AppendAvatarSize .RelAvatarLink 40}}"> {{.Name}}
 											<img src="{{AppendAvatarSize .RelAvatarLink 40}}"> {{.Name}}
 										</a>
 										</a>
 										<br/>
 										<br/>