<tr>
- <% cl = cycle("table0", "table1") %>
- <td class="<%= cl %>">
+ <td>
<% if Settings.status != "gpx_offline" %>
<% if trace.inserted %>
<a href="<%= url_for :controller => "traces", :action => "show", :id => trace.id, :display_name => trace.user.display_name %>"><img src="<%= url_for :controller => "traces", :action => "icon", :id => trace.id, :display_name => trace.user.display_name %>" border="0" alt="" /></a>
<% end %>
<% end %>
</td>
- <td class="<%= cl %>"><%= link_to trace.name, :controller => "traces", :action => "show", :display_name => trace.user.display_name, :id => trace.id %>
- <span class="trace_summary" title="<%= trace.timestamp %>"> ...
+ <td><%= link_to trace.name, :controller => "traces", :action => "show", :display_name => trace.user.display_name, :id => trace.id %>
+ <span class="text-muted" title="<%= trace.timestamp %>"> ...
<% if trace.inserted %>
(<%= t ".count_points", :count => trace.size %>)
<% 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 />
- <%= t ".by" %> <%= link_to h(trace.user.display_name), user_path(trace.user) %>
+ <%= t ".by" %> <%= link_to trace.user.display_name, user_path(trace.user) %>
<% if !trace.tags.empty? %>
<%= t ".in" %>
<%= safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %>