<% if Settings.status != "gpx_offline" %>
<% if @trace.inserted %>
- <%= image_tag trace_picture_path(@trace.user, @trace), :class => "trace_image" %>
+ <%= trace_picture(@trace) %>
<% else %>
<span class="text-danger"><%= t ".pending" %></span>
<% end %>