Adds foundation 6 🎉
This commit is contained in:
16
app/views/shared/_top_links.html.erb
Normal file
16
app/views/shared/_top_links.html.erb
Normal file
@@ -0,0 +1,16 @@
|
||||
<section class="top-links hide-for-small-only">
|
||||
<div class="row">
|
||||
<%= render "shared/locale_switcher" %>
|
||||
<div class="external-links">
|
||||
<%= link_to Setting['org_name'], root_path, class: ("selected" unless current_page?("/opendata")) %> |
|
||||
<%= link_to t("layouts.header.external_link_transparency"), t("layouts.header.external_link_transparency_url") %> |
|
||||
<%= link_to t("layouts.header.external_link_opendata"), "/opendata", class: ("selected" if current_page?("/opendata")) %>
|
||||
<% if Setting['blog_url'] %>
|
||||
|
|
||||
<%= link_to Setting['blog_url'], target: "_blank" do %>
|
||||
<%= t("layouts.header.external_link_blog") %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user