]> 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 8c662ef8750b4b3c3865d3b32d9fdb794157faef..c2f4183eb433df939a52300a996fbc453a6fd21c 100644 (file)
@@ -9,7 +9,7 @@
     <% end %>
   </td>
   <td><%= link_to trace.name, :controller => "traces", :action => "show", :display_name => trace.user.display_name, :id => trace.id %>
-    <span class="trace_summary" title="<%= trace.timestamp %>"> ...
+    <span class="text-muted" title="<%= trace.timestamp %>"> ...
       <% if trace.inserted %>
         (<%= t ".count_points", :count => trace.size %>)
       <% end %>
@@ -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 %>