X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0f91ad89663fbadca007b1c4dce03f9a76ad0e5f..ec9deb5dc2a4af5db3f0e993942a0aa438a21e94:/app/views/trace/edit.rhtml?ds=inline diff --git a/app/views/trace/edit.rhtml b/app/views/trace/edit.rhtml index 22405c1fc..9d91dec2e 100644 --- a/app/views/trace/edit.rhtml +++ b/app/views/trace/edit.rhtml @@ -1,4 +1,4 @@ -
Filename: | +<%= t'trace.edit.filename' %> | <%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>) | |
Uploaded at: | +<%= t'trace.edit.uploaded_at' %> | <%= @trace.timestamp %> | |
Points: | +<%= t'trace.edit.points' %> | <%= @trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> | |
Start coordinate: | -<%= @trace.latitude %>; <%= @trace.longitude %> (<%=link_to 'map', :controller => 'site', :action => 'index', :lat => @trace.latitude, :lon => @trace.longitude, :zoom => 14 %> / <%=link_to 'edit', :controller => 'site', :action => 'edit', :lat => @trace.latitude, :lon => @trace.longitude, :gpx=> @trace.id, :zoom => 14 %>) |
+ <%= t'trace.edit.start_coord' %>Start coordinate: | +<%= @trace.latitude %>; <%= @trace.longitude %> (<%=link_to 'map', :controller => 'site', :action => 'index', :lat => @trace.latitude, :lon => @trace.longitude, :zoom => 14 %> / <%=link_to t('trace.edit.edit'), :controller => 'site', :action => 'edit', :lat => @trace.latitude, :lon => @trace.longitude, :gpx=> @trace.id, :zoom => 14 %>) |
Owner: | -<%= link_to @trace.user.display_name, {:controller => 'user', :action => 'view', :display_name => @trace.user.display_name} %> | +<%= t'trace.edit.owner' %> | +<%= link_to h(@trace.user.display_name), {:controller => 'user', :action => 'view', :display_name => @trace.user.display_name} %> |
Description: | +<%= t'trace.edit.description' %> | <%= f.text_field :description %> | |