Browse Source

Added follow count in admin user edit panel

Yoginth 7 years ago
parent
commit
f8d623dd31
1 changed files with 6 additions and 0 deletions
  1. 6 0
      templates/admin/user/edit.tmpl

+ 6 - 0
templates/admin/user/edit.tmpl

@@ -16,6 +16,12 @@
 							<a class="ui image label {{if .User.Suspended}}red{{end}}" href="{{AppURL}}{{.User.Name}}" target="_blank">
 								<img src="{{AppendAvatarSize .User.RelAvatarLink 40}}"> {{.User.Name}}
 							</a>
+							<div class="ui label">
+								Followers <div class="detail">{{.User.NumFollowers}}</div>
+							</div>
+							<div class="ui label">
+								Following <div class="detail">{{.User.NumFollowing}}</div>
+							</div>
 						</div>
 						<!-- Types and name -->
 						<div class="inline required field {{if .Err_LoginType}}error{{end}}">