mirror of https://github.com/writeas/writefreely
A focused writing and publishing space.
https://write.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
519 B
28 lines
519 B
6 years ago
|
{{define "users"}}
|
||
|
{{template "header" .}}
|
||
|
|
||
|
<div class="snug content-container">
|
||
|
{{template "admin-header" .}}
|
||
|
|
||
|
<h2 id="posts-header">Users</h2>
|
||
|
|
||
|
<table class="classy export">
|
||
|
<tr>
|
||
|
<th>User</th>
|
||
|
<th>Joined</th>
|
||
|
<th>Type</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>
|
||
|
</tr>
|
||
|
{{end}}
|
||
|
</table>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
{{template "footer" .}}
|
||
|
{{end}}
|