]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_trace.html.erb
Merge remote-tracking branch 'upstream/pull/2921' into master
[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 %>
-      <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 %>