diff options
Diffstat (limited to 'app/views/layouts/_nav_controls.html.erb')
| -rw-r--r-- | app/views/layouts/_nav_controls.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/_nav_controls.html.erb b/app/views/layouts/_nav_controls.html.erb index d6053dab..bae1082b 100644 --- a/app/views/layouts/_nav_controls.html.erb +++ b/app/views/layouts/_nav_controls.html.erb | |||
| @@ -1,7 +1,12 @@ | |||
| 1 | |||
| 1 | <% if current_user %> | 2 | <% if current_user %> |
| 2 | <%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": t(".dashboard"), title: t(".dashboard") %> | 3 | <%= link_to icon("home", library: "tabler", "aria-hidden": true), admin_path, "aria-label": t(".dashboard"), title: t(".dashboard") %> |
| 3 | <a href="#" onclick="admin_search.display_toggle(); return false;" aria-label="<%= t(".search") %>" title="<%= t(".search") %>"><%= icon("search", library: "tabler", "aria-hidden": true) %></a> | 4 | <a href="#" onclick="admin_search.display_toggle(); return false;" aria-label="<%= t(".search") %>" title="<%= t(".search") %>"><%= icon("search", library: "tabler", "aria-hidden": true) %></a> |
| 4 | <% end %> | 5 | <% end %> |
| 6 | <%= link_to root_path, class: "nav_toggle", | ||
| 7 | "aria-label" => t(".public_site"), title: t(".public_site") do %> | ||
| 8 | <%= icon("world", library: "tabler", "aria-hidden": true) %> | ||
| 9 | <% end %> | ||
| 5 | 10 | ||
| 6 | <span class="nav_group"> | 11 | <span class="nav_group"> |
| 7 | <%= link_to url_for(locale: (:en unless I18n.locale == :en)), | 12 | <%= link_to url_for(locale: (:en unless I18n.locale == :en)), |
