X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7ccd11ebf3c8e119a04119a2e89ce6a879560578..bbd44f8099bc24bc514a04f98aa29102fff4963f:/app/views/traces/show.html.erb
diff --git a/app/views/traces/show.html.erb b/app/views/traces/show.html.erb
index f8e8510f9..cea119d54 100644
--- a/app/views/traces/show.html.erb
+++ b/app/views/traces/show.html.erb
@@ -22,10 +22,10 @@
<% if @trace.inserted? %>
<%= t '.points' %> |
- <%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> |
+ <%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/, '\1,') %> |
<%= t '.start_coordinates' %> |
- <%= @trace.latitude %>; <%= @trace.longitude %> (<%=link_to t('.map'), :controller => 'site', :action => 'index', :mlat => @trace.latitude, :mlon => @trace.longitude, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%=link_to t('.edit'), :controller => 'site', :action => 'edit', :gpx=> @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>) |
+ <%= @trace.latitude %>; <%= @trace.longitude %> (<%= link_to t('.map'), :controller => 'site', :action => 'index', :mlat => @trace.latitude, :mlon => @trace.longitude, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %> / <%= link_to t('.edit'), :controller => 'site', :action => 'edit', :gpx => @trace.id, :anchor => "map=14/#{@trace.latitude}/#{@trace.longitude}" %>) |
<% end %>
@@ -54,7 +54,7 @@
-<% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?)%>
+<% if current_user && (current_user==@trace.user || current_user.administrator? || current_user.moderator?) %>
<% if current_user == @trace.user %>
<%= link_to t('.edit_trace'), edit_trace_path(@trace), :class => "button" %>