X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c789acd39d1c685b490975dc06721dadd76c83ef..f258af223bd2b9b682398b072864b68090b37d25:/app/views/trace/view.html.erb
diff --git a/app/views/trace/view.html.erb b/app/views/trace/view.html.erb
index cbe6c1628..dda78f954 100644
--- a/app/views/trace/view.html.erb
+++ b/app/views/trace/view.html.erb
@@ -6,7 +6,7 @@
<% if @trace.inserted %>
<% else %>
- <%= t'trace.view.pending' %>
+ <%= t'trace.view.pending' %>
<% end %>
<% end %>
@@ -25,7 +25,7 @@
<%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> |
<%= t'trace.view.start_coordinates' %> |
- <%= @trace.latitude %>; <%= @trace.longitude %> (<%=link_to t('trace.view.map'), :controller => 'site', :action => 'index', :lat => @trace.latitude, :lon => @trace.longitude, :zoom => 14 %> / <%=link_to t('trace.view.edit'), :controller => 'site', :action => 'edit', :lat => @trace.latitude, :lon => @trace.longitude, :gpx=> @trace.id, :zoom => 14 %>) |
+ <%= @trace.latitude %>; <%= @trace.longitude %> (<%=link_to t('trace.view.map'), :controller => 'site', :action => 'index', :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%=link_to t('trace.view.edit'), :controller => 'site', :action => 'edit', :gpx=> @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>) |
<% end %>