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:
Matt Baer 2019-11-07 16:49:52 +09:00
parent da7dcfee6a
commit c9f7219831

View file

@ -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>