Moves back link to root path from dashboard to header

This commit is contained in:
decabeza
2018-07-18 17:30:52 +02:00
parent 5546f5b125
commit 076f9dd474
3 changed files with 8 additions and 6 deletions

View File

@@ -46,6 +46,10 @@ $sidebar-active: #f4fcd0;
.top-links {
background: #000;
a {
line-height: rem-calc($line-height * 1.5);
}
}
.admin-top-bar {

View File

@@ -1,9 +1,3 @@
<div class="float-right">
<%= link_to root_path do %>
<%= t("admin.dashboard.index.back", org: setting['org_name']) %>
<% end %>
</div>
<h2 class="title inline-block"><%= t("admin.dashboard.index.title") %></h2>
<p><%= t("admin.dashboard.index.description", org: setting['org_name']) %></p>

View File

@@ -2,6 +2,10 @@
<div class="top-links">
<div class="expanded row">
<%= render "shared/locale_switcher" %>
<%= link_to root_path, class: "float-right" do %>
<%= t("admin.dashboard.index.back", org: setting['org_name']) %>
<% end %>
</div>
</div>