mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00: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
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue