X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a2bdacf1769d3157b895b662b6e43a2aa59d9e6..f3b6e0faa1cbf92b46555bea2fca62ca1895e703:/app/views/trace/view.html.erb diff --git a/app/views/trace/view.html.erb b/app/views/trace/view.html.erb index ef951372f..df45f2f2d 100644 --- a/app/views/trace/view.html.erb +++ b/app/views/trace/view.html.erb @@ -13,7 +13,7 @@ - + @@ -57,7 +57,7 @@ <% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?)%>
<%= if_user(@trace.user) do %> - <%= button_to t('trace.view.edit_track'), :controller => 'trace', :action => 'edit', :id => @trace.id %> + <%= button_to t('trace.view.edit_track'), trace_edit_path(@trace) %> <% end %> <%= button_to t('trace.view.delete_track'), :controller => 'trace', :action => 'delete', :id => @trace.id %>
<%= t'trace.view.filename' %><%= @trace.name %> (<%= link_to t('trace.view.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>)<%= @trace.name %> (<%= link_to t('trace.view.download'), trace_data_path(@trace) %>)
<%= t'trace.view.uploaded' %>