]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_trace.html.erb
Include data: when using allow_thirdparty_images CSP
[rails.git] / app / views / traces / _trace.html.erb
index f60eea7f1cbe22834e631359484b592f6cddb0a7..992f16199ac38a5044fa8df507b8dfc27b29e6c4 100644 (file)
@@ -27,7 +27,7 @@
                          when "public", "identifiable" then "success"
                          else "danger"
                          end %>
                          when "public", "identifiable" then "success"
                          else "danger"
                          end %>
-        <span class="badge bg-<%= badge_class %> text-white"><%= t(".#{trace.visibility}") %></span>
+        <span class="badge text-bg-<%= badge_class %>"><%= t(".#{trace.visibility}") %></span>
       </li>
     </ul>
     <p class="text-body-secondary mb-0">
       </li>
     </ul>
     <p class="text-body-secondary mb-0">