diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 5ae8e6e..088413a 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -13,11 +13,13 @@ <%= link_to About => 'about_page' %> <%= link_to Rules => 'rules_page' %> <%= link_to RSS => threads_feed => {format => 'rss'} %> - <% unless (is_mod) { =%> + <% if (is_mod) { =%> + <%= link_to Logout => 'mod_logout' %> + <% } else { =%> <%= link_to Login => 'mod_login' %> + <% } =%> - <% } =%> <% if (is_mod) { =%>
@@ -25,7 +27,6 @@ <%= link_to Flagged => 'flagged_list' %> <%= link_to Hidden => 'hidden_list' %> <%= link_to Reset => 'mod_reset' %> - <%= link_to Logout => 'mod_logout' %>
<% } =%> <% if (is_admin) { =%>