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

@ -4,8 +4,8 @@
<a href="<%= url_for("all_topics") %>">All topics</a>
</span>
<span>
<% if user:is_logged_in() then -%>
Welcome, <a href="<%= url_for("user", {username = user.username}) %>"><%= user.username %></a>
<% if me:is_logged_in() then -%>
Welcome, <a href="<%= url_for("user", {username = me.username}) %>"><%= me.username %></a>
<% else -%>
Welcome, guest. Please <a href="<%= url_for("user_login") %>">log in</a>
<% end -%>