makes sure setting helper is used in views
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<%= link_to t("admin.dashboard.index.back") + " " + Setting['org_name'], root_path, class: "button float-right" %>
|
<%= link_to t("admin.dashboard.index.back") + " " + setting['org_name'], root_path, class: "button float-right" %>
|
||||||
|
|
||||||
<h2 class="inline-block"><%= t("admin.dashboard.index.title") %></h2>
|
<h2 class="inline-block"><%= t("admin.dashboard.index.title") %></h2>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<div class="expanded row">
|
<div class="expanded row">
|
||||||
<div class="top-bar">
|
<div class="top-bar">
|
||||||
|
|
||||||
<%= link_to Setting['org_name'], admin_root_path, class: "logo show-for-small-only" %>
|
<%= link_to setting['org_name'], admin_root_path, class: "logo show-for-small-only" %>
|
||||||
|
|
||||||
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
|
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
|
||||||
<span class="menu-icon dark" data-toggle></span>
|
<span class="menu-icon dark" data-toggle></span>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<div class="top-bar-title">
|
<div class="top-bar-title">
|
||||||
<%= link_to admin_root_path, class: "hide-for-small-only" do %>
|
<%= link_to admin_root_path, class: "hide-for-small-only" do %>
|
||||||
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
||||||
<%= Setting['org_name'] %>
|
<%= setting['org_name'] %>
|
||||||
| <%= t("admin.dashboard.index.title") %>
|
| <%= t("admin.dashboard.index.title") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="top-bar">
|
<div class="top-bar">
|
||||||
|
|
||||||
<%= link_to Setting['org_name'], root_path, class: "logo show-for-small-only" %>
|
<%= link_to setting['org_name'], root_path, class: "logo show-for-small-only" %>
|
||||||
|
|
||||||
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
|
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
|
||||||
<span class="menu-icon dark" data-toggle></span>
|
<span class="menu-icon dark" data-toggle></span>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<div class="expanded row">
|
<div class="expanded row">
|
||||||
<div class="top-bar">
|
<div class="top-bar">
|
||||||
|
|
||||||
<%= link_to Setting['org_name'], management_root_path, class: "logo show-for-small-only" %>
|
<%= link_to setting['org_name'], management_root_path, class: "logo show-for-small-only" %>
|
||||||
|
|
||||||
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
|
<span data-responsive-toggle="responsive-menu" data-hide-for="medium" class="float-right">
|
||||||
<span class="menu-icon dark" data-toggle></span>
|
<span class="menu-icon dark" data-toggle></span>
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
<div class="top-bar-title">
|
<div class="top-bar-title">
|
||||||
<%= link_to management_root_path, class: "hide-for-small-only" do %>
|
<%= link_to management_root_path, class: "hide-for-small-only" do %>
|
||||||
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
<%= image_tag('logo_header.png', class: 'hide-for-small-only float-left', size: '80x80', alt: t("layouts.header.logo")) %>
|
||||||
<%= Setting['org_name'] %>
|
<%= setting['org_name'] %>
|
||||||
| <%= t("management.dashboard.index.title") %>
|
| <%= t("management.dashboard.index.title") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<%= link_to t("admin.dashboard.index.back") + " " + Setting['org_name'], root_path, class: "button float-right" %>
|
<%= link_to t("admin.dashboard.index.back") + " " + setting['org_name'], root_path, class: "button float-right" %>
|
||||||
|
|
||||||
<h2 class="inline-block"><%= t("moderation.dashboard.index.title") %></h2>
|
<h2 class="inline-block"><%= t("moderation.dashboard.index.title") %></h2>
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<%= render "shared/locale_switcher" %>
|
<%= render "shared/locale_switcher" %>
|
||||||
<div class="external-links">
|
<div class="external-links">
|
||||||
<%= link_to Setting['org_name'], root_path, class: ("selected" unless current_page?("/opendata")) %> |
|
<%= 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_transparency"), t("layouts.header.external_link_transparency_url") %> |
|
||||||
<%= link_to t("layouts.header.external_link_opendata"), "/opendata", class: ("selected" if current_page?("/opendata")) %>
|
<%= link_to t("layouts.header.external_link_opendata"), "/opendata", class: ("selected" if current_page?("/opendata")) %>
|
||||||
<% if Setting['blog_url'] %>
|
<% if setting['blog_url'] %>
|
||||||
|
|
|
|
||||||
<%= link_to Setting['blog_url'], title: t('shared.target_blank_html'), target: "_blank" do %>
|
<%= link_to setting['blog_url'], title: t('shared.target_blank_html'), target: "_blank" do %>
|
||||||
<%= t("layouts.header.external_link_blog") %>
|
<%= t("layouts.header.external_link_blog") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<h2><%= t("welcome.verification.title") %></h2>
|
<h2><%= t("welcome.verification.title") %></h2>
|
||||||
|
|
||||||
<div class="text-center margin-top">
|
<div class="text-center margin-top">
|
||||||
<h3><%= t("welcome.verification.question", org_name: Setting["org_name"]) %></h3>
|
<h3><%= t("welcome.verification.question", org_name: setting["org_name"]) %></h3>
|
||||||
<br>
|
<br>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="small-12 medium-6 column">
|
<div class="small-12 medium-6 column">
|
||||||
|
|||||||
Reference in New Issue
Block a user