X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ecc4b64a23d0d27d5a1a2eb472082123cdf985cd..becccea034bc1ca4609c904095f4f86e17e349b4:/app/views/layouts/_header.html.erb diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 7e4dd96d3..a5ab460ce 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -2,8 +2,8 @@

- " type="image/svg+xml"> - <%= image_tag "osm_logo.png", :alt => t('layouts.logo.alt_text'), :class => 'logo' %> + " type="image/svg+xml"> + <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t('layouts.logo.alt_text'), :class => 'logo' %> <%= t 'layouts.project_name.h1' %> @@ -48,39 +48,39 @@ - <% if @user && @user.id %> + <% if current_user && current_user.id %>