add quick and dirty user list for mods

This commit is contained in:
2025-05-22 04:00:11 +03:00
parent 511687c8c3
commit a28572003e
4 changed files with 36 additions and 0 deletions

View File

@ -7,6 +7,10 @@
<span>
<% if me and me:is_logged_in() then -%>
Welcome, <a href="<%= url_for("user", {username = me.username}) %>"><%= me.username %></a>
<% if me:is_mod() then %>
&bullet;
<a href="<%= url_for("user_list") %>">User list</a>
<% end %>
<% else -%>
Welcome, guest. Please <a href="<%= url_for("user_signup") %>">sign up</a> or <a href="<%= url_for("user_login") %>">log in</a>
<% end -%>