Moves back link to root path from dashboard to header
This commit is contained in:
@@ -46,6 +46,10 @@ $sidebar-active: #f4fcd0;
|
||||
|
||||
.top-links {
|
||||
background: #000;
|
||||
|
||||
a {
|
||||
line-height: rem-calc($line-height * 1.5);
|
||||
}
|
||||
}
|
||||
|
||||
.admin-top-bar {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user