Explorar o código

Account label will show red if it is suspended

Yoginth %!s(int64=7) %!d(string=hai) anos
pai
achega
1a4b2b8a59
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/admin/user/list.tmpl

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

@@ -32,7 +32,7 @@
 								<tr>
 									<td>{{.ID}}</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}}
 										</a>
 										<br/>