]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_trace.html.erb
Use bootstrap utility class instead of custom css
[rails.git] / app / views / traces / _trace.html.erb
index ff15836b7b2596f2ea783a907bd31da480d14cbf..c2f4183eb433df939a52300a996fbc453a6fd21c 100644 (file)
@@ -21,7 +21,7 @@
                        when "public", "identifiable" then "success"
                        else "danger"
                        end %>
                        when "public", "identifiable" then "success"
                        else "danger"
                        end %>
-      <span class="badge badge-<%= badge_class %> text-white"><%= t("." + trace.visibility) %></span>
+      <span class="badge badge-<%= badge_class %> text-white"><%= t(".#{trace.visibility}") %></span>
 
       <br />
       <%= trace.description %>
 
       <br />
       <%= trace.description %>