diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/layouts/_nav_controls.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/_nav_controls.html.erb b/app/views/layouts/_nav_controls.html.erb index 66524044..44010eb6 100644 --- a/app/views/layouts/_nav_controls.html.erb +++ b/app/views/layouts/_nav_controls.html.erb | |||
| @@ -1,7 +1,9 @@ | |||
| 1 | 1 | ||
| 2 | <% if current_user %> | 2 | <% if current_user %> |
| 3 | <%= 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") %> |
| 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 | <button type="button" id="search_toggle" class="nav_toggle" aria-label="<%= t(".search") %>" title="<%= t(".search") %>"> |
| 5 | <%= icon("search", library: "tabler", "aria-hidden": true) %> | ||
| 6 | </button> | ||
| 5 | <% end %> | 7 | <% end %> |
| 6 | <%= link_to root_path, class: "nav_toggle", | 8 | <%= link_to root_path, class: "nav_toggle", |
| 7 | "aria-label" => t(".public_site"), title: t(".public_site") do %> | 9 | "aria-label" => t(".public_site"), title: t(".public_site") do %> |
