]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/2477'
authorTom Hughes <tom@compton.nu>
Thu, 26 Dec 2019 09:51:27 +0000 (09:51 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 26 Dec 2019 09:51:27 +0000 (09:51 +0000)
app/views/layouts/_flash.html.erb
app/views/layouts/_header.html.erb
app/views/layouts/error.html.erb

index 8b04dac91d465f44844ffe7145519c9375c70732..0f39c4a47f3f7d0df5f415422e4fc749ff5d1615 100644 (file)
@@ -1,7 +1,7 @@
 <% if flash[:error] %>
   <div class="flash error">
     <picture>
-      <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
+      <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml" />
       <%= image_tag("notice.png", :srcset => image_path("notice.svg"), :class => "small_icon", :border => 0) %>
     </picture>
     <div class="message"><%= flash[:error] %></div>
index c95cc4a75d447375c544c3b38d1a5a22e1dd6a4f..ad7df4c79df25d460a2e51aa110197c20ba3cedf 100644 (file)
@@ -2,7 +2,7 @@
   <h1>
     <a href="<%= root_path %>" class="geolink">
       <picture>
-        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
+        <end tag srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
         <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
       </picture>
       <%= t "layouts.project_name.h1" %>
index 9b5f4f34b9536718974ceecadb42a36372f55f42..2b769958e5018d536aff6c5c195f952e211e6d7e 100644 (file)
@@ -8,7 +8,7 @@
   <body>
     <a href="<%= root_path %>">
       <picture>
-        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml"></source>
+        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
         <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
       </picture>
     </a>