1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-12-07 00:48:07 +00:00

Add links to users in user panel

This commit is contained in:
handlerug
2021-06-30 02:26:36 +07:00
parent b8420c81a8
commit bbb577a6bb
2 changed files with 100 additions and 84 deletions

View File

@@ -1,3 +1,4 @@
{% import "github.com/bouncepaw/mycorrhiza/cfg" %}
{% import "github.com/bouncepaw/mycorrhiza/user" %}
{% func AdminPanelHTML() %}
@@ -61,7 +62,9 @@
<tbody>
{% for _, u := range userList %}
<tr>
<td>{%s u.Name %}</td>
<td>
<a href="/hypha/{%s cfg.UserHypha %}/{%s u.Name %}">{%s u.Name %}</a>
</td>
<td>{%s u.Group %}</td>
<td>{%s u.RegisteredAt.Format("2006-01-02 15:04:05-0700") %}</td>
<td>