X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ba90fe97ea7b4f7a9da33ab1f4b8f3f693dbc596..801944dbe4694fd895058b9444bacbe4e57d53e1:/app/views/layouts/_header.html.erb diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index d5b6a9e01..8942eb49c 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -1,4 +1,4 @@ -
+

<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :width => 30, :height => 30, :class => "logo" %> @@ -104,7 +104,7 @@ <%= link_to t("layouts.logout"), logout_path(:referer => request.fullpath), :method => "post", :class => "geolink dropdown-item" %> - <% else %> + <% elsif (controller_name != "users" and controller_name != "sessions") || action_name != "new" %>