<% if Settings.status != "gpx_offline" %>
<% if trace.inserted %>
<%= link_to trace_icon(trace),
show_trace_path(trace.user, trace),
:class => "d-inline-block" %>
<% 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}") %>
<% if trace.tags.empty? %>
<%= t ".details_without_tags_html", :time_ago => friendly_date_ago(trace.timestamp),
:user => link_to(trace.user.display_name, trace.user) %>
<% else %>
<%= t ".details_with_tags_html", :time_ago => friendly_date_ago(trace.timestamp),
:user => link_to(trace.user.display_name, trace.user),
:tags => safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %>
<% end %>
<%= trace.description %>
|
<% if trace.inserted? %>
<% end %>
|