Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F14752975
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/templates/user/admin/users.tmpl b/templates/user/admin/users.tmpl
index 03a3f6c..df840b2 100644
--- a/templates/user/admin/users.tmpl
+++ b/templates/user/admin/users.tmpl
@@ -1,35 +1,33 @@
{{define "users"}}
{{template "header" .}}
<div class="snug content-container">
{{template "admin-header" .}}
<h2 id="posts-header" style="display: flex; justify-content: space-between;">Users <span style="font-style: italic; font-size: 0.75em;">{{.TotalUsers}} total</strong></h2>
<table class="classy export" style="width:100%">
<tr>
<th>User</th>
<th>Joined</th>
<th>Type</th>
<th>Status</th>
</tr>
{{range .Users}}
<tr>
<td><a href="/admin/user/{{.Username}}">{{.Username}}</a></td>
<td>{{.CreatedFriendly}}</td>
<td style="text-align:center">{{if .IsAdmin}}Admin{{else}}User{{end}}</td>
- <td style="text-align:center">
- <a href="/admin/user/{{.Username}}#status" title="View or change account status">{{if .IsSuspended}}suspended{{else}}active{{end}}</a>
- </td>
+ <td style="text-align:center">{{if .IsSuspended}}Suspended{{else}}Active{{end}}</td>
</tr>
{{end}}
</table>
<nav class="pager">
{{range $n := .TotalPages}}<a href="/admin/users{{if ne $n 1}}?p={{$n}}{{end}}" {{if eq $.CurPage $n}}class="selected"{{end}}>{{$n}}</a>{{end}}
</nav>
</div>
{{template "footer" .}}
{{end}}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Apr 24, 11:42 AM (2 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3708088
Attached To
rWF WriteFreely
Event Timeline
Log In to Comment