Browse Source

Account label will show red if it is suspended

Yoginth 7 năm trước cách đây
mục cha
commit
1a4b2b8a59
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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/>