mirror of
https://github.com/writeas/writefreely
synced 2025-01-31 19:24:47 +01:00
Move user status in list out of <a>
The link here is a little redundant, and might make people think that it actually changes the status by clicking on it.
This commit is contained in:
parent
da7dcfee6a
commit
c9f7219831
@ -18,9 +18,7 @@
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user