layout: link to hats (for all) when no hat requests present
This commit is contained in:
parent
70f16e4dd3
commit
05743959cf
|
@ -126,6 +126,8 @@
|
|||
<% if @user && @user.is_moderator? &&
|
||||
(hrc = HatRequest.count) > 0 %>
|
||||
<a href="/hats/requests"><%= t('.hatrequestlink') %> (<%= hrc %>)</a>
|
||||
<% else %>
|
||||
<a href="/hats"><%= t('.hatslink') %></a>
|
||||
<% end %>
|
||||
<a href="/privacy"><%= t('.privacylink') %></a>
|
||||
<a href="/about"><%= t('.aboutlink') %></a>
|
||||
|
|
|
@ -64,6 +64,7 @@ en:
|
|||
invitationqueuelink: "Invitation Queue"
|
||||
chatlink: "Chat"
|
||||
hatrequestlink: "Hat Requests"
|
||||
hatslink: "Hats"
|
||||
privacylink: "Privacy"
|
||||
aboutlink: "About"
|
||||
blog: "Blog"
|
||||
|
|
|
@ -76,6 +76,7 @@ fr:
|
|||
invitationqueuelink: "File d'invitation"
|
||||
chatlink: "Chat"
|
||||
hatrequestlink: "Porter le chapeau"
|
||||
hatslink: "Chapeaux"
|
||||
privacylink: "Confidentialité"
|
||||
aboutlink: "À propos"
|
||||
blog: "Blog"
|
||||
|
|
Loading…
Reference in a new issue