use 'me' instead of 'user' consistently

This commit is contained in:
2025-05-20 14:28:23 +03:00
parent 82b25946a0
commit 3bd474d7fe
9 changed files with 23 additions and 23 deletions

View File

@ -22,7 +22,7 @@
<p>This topic is locked.</p>
<% end %>
<% if user:is_mod() then %>
<% if me:is_mod() then %>
<br>
<a href="<%= url_for("topic_edit", {slug = topic.slug}) %>">Edit topic</a>
<form method="post" action="<%= url_for("topic_edit", {slug = topic.slug}) %>">

View File

@ -11,6 +11,6 @@
<% end %>
<% end %>
</ul>
<% if user:is_mod() then %>
<% if me:is_mod() then %>
<a href="<%= url_for("topic_create") %>">Create new topic</a>
<% end %>