adds highlights to header's menu
This commit is contained in:
@@ -32,9 +32,7 @@
|
||||
<div class="row-full subnavigation-container">
|
||||
<section class="subnavigation row">
|
||||
<div class="small-12 medium-8 column">
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to t("layouts.header.welcome"), root_path, class: ("active" if current_page? root_path) %>
|
||||
<% end %>
|
||||
<%= link_to t("layouts.header.highlights"), highlights_path, class: ("active" if current_page? highlights_path) %>
|
||||
<%= link_to t("layouts.header.debates"), debates_path, class: ("active" if current_page?(controller: "/debates")) %>
|
||||
<%= link_to t("layouts.header.proposals"), proposals_path, class: ("active" if current_page?(controller: "/proposals")) %>
|
||||
<%= link_to t("layouts.header.more_information"), "/more_information", class: ("active" if current_page?("/more_information")) %>
|
||||
|
||||
@@ -27,7 +27,7 @@ en:
|
||||
locale: "Language:"
|
||||
administration: Administration
|
||||
moderation: Moderation
|
||||
welcome: "Welcome"
|
||||
highlights: "Highlights"
|
||||
more_information: "More information"
|
||||
debates: Debates
|
||||
proposals: Proposals
|
||||
|
||||
@@ -27,7 +27,7 @@ es:
|
||||
locale: "Idioma:"
|
||||
administration: Administrar
|
||||
moderation: Moderar
|
||||
welcome: "Portada"
|
||||
highlights: "Destacados"
|
||||
more_information: "Más información"
|
||||
debates: Debates
|
||||
proposals: Propuestas ciudadanas
|
||||
|
||||
Reference in New Issue
Block a user