<% content_for :heading do %>
- <h2><%= t ".heading", :name => @trace.name %></h2>
+ <h1><%= t ".heading", :name => @trace.name %></h1>
<% end %>
<% if Settings.status != "gpx_offline" %>
<table class="table table-borderless table-sm">
<tr>
- <td><%= t ".filename" %></td>
+ <th><%= t ".filename" %></th>
<td><%= @trace.name %> (<%= link_to t(".download"), trace_data_path(@trace) %>)</td>
</tr>
<tr>
- <td><%= t ".uploaded" %></td>
+ <th><%= t ".uploaded" %></th>
<td><%= l @trace.timestamp, :format => :friendly %></td>
</tr>
<% if @trace.inserted? %>
<tr>
- <td><%= t ".points" %></td>
+ <th><%= t ".points" %></th>
<td><%= number_with_delimiter(@trace.size) %></td></tr>
<tr>
- <td><%= t ".start_coordinates" %></td>
+ <th><%= t ".start_coordinates" %></th>
<td>
<div class="d-inline">
<%= t ".coordinates_html",
</tr>
<% end %>
<tr>
- <td><%= t ".owner" %></td>
+ <th><%= t ".owner" %></th>
<td><%= link_to @trace.user.display_name, user_path(@trace.user) %></td>
</tr>
<tr>
- <td><%= t ".description" %></td>
+ <th><%= t ".description" %></th>
<td><%= @trace.description %></td>
</tr>
<tr>
- <td><%= t ".tags" %></td>
+ <th><%= t ".tags" %></th>
<td>
<% unless @trace.tags.empty? %>
<%= safe_join(@trace.tags.collect { |tag| link_to tag.tag, :controller => "traces", :action => "index", :tag => tag.tag, :id => nil }, ", ") %>
</td>
</tr>
<tr>
- <td><%= t ".visibility" %></td>
+ <th><%= t ".visibility" %></th>
<td><%= t "traces.visibility.#{@trace.visibility}" %></td>
</tr>
</table>
-<br /><br />
-
<% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?) %>
<div>
<% if current_user == @trace.user %>