<% if Settings.status != "gpx_offline" %>
<% if trace.inserted %>
<%= link_to image_tag(trace_icon_path(trace.user, trace), :alt => ""), show_trace_path(trace.user, trace) %>
<% else %>
<%= t ".pending" %>
<% end %>
<% end %>
|
-
<%= link_to trace.name, show_trace_path(trace.user, trace) %>
<% if trace.inserted? %>
-
<%= t ".count_points", :count => trace.size %>
<% end %>
-
<% badge_class = case trace.visibility
when "public", "identifiable" then "success"
else "danger"
end %>
<%= t(".#{trace.visibility}") %>
<%= friendly_date_ago(trace.timestamp) %>
<%= t ".by" %> <%= link_to trace.user.display_name, trace.user %>
<% if !trace.tags.empty? %>
<%= t ".in" %>
<%= safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %>
<% end %>
<%= trace.description %>
|
<% if trace.inserted? %>
<% end %>
|