add a link 'ask an invitation' on the main page while not logged in. closes #2
This commit is contained in:
parent
e2116b379a
commit
c5635f2b5e
|
@ -59,6 +59,9 @@
|
|||
<% end %>
|
||||
|
||||
<% links.merge!({ "/search" => t('.searchlink') }) %>
|
||||
<% if !@user %>
|
||||
<% links.merge!({ "/invitations/request" => t('.invitationlink') }) %>
|
||||
<% end %>
|
||||
|
||||
<% if @cur_url.present? && !links.keys.include?(@cur_url) &&
|
||||
@heading.present? %>
|
||||
|
|
|
@ -51,6 +51,7 @@ en:
|
|||
yourthreadslink: "Your Threads"
|
||||
submitstorylink: "Submit Story"
|
||||
searchlink: "Search"
|
||||
invitationlink: "Ask for an invitation"
|
||||
filterslink: "Filters"
|
||||
newmessagelink:
|
||||
one: "1 New Message"
|
||||
|
|
|
@ -63,6 +63,7 @@ fr:
|
|||
yourthreadslink: "Vos sujets"
|
||||
submitstorylink: "Soumettre"
|
||||
searchlink: "Recherche"
|
||||
invitationlink: "Demander une invitation"
|
||||
filterslink: "Filtres"
|
||||
newmessagelink:
|
||||
one: "Nouveau message"
|
||||
|
|
Loading…
Reference in a new issue