X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dfadcc797cead0cc1877dbc211b7a081bf8e769c..9d3b419aad3069db13fc0169049a30fbc2b2a288:/app/views/trace/view.html.erb?ds=sidebyside
diff --git a/app/views/trace/view.html.erb b/app/views/trace/view.html.erb
index 80733844d..0887e5605 100644
--- a/app/views/trace/view.html.erb
+++ b/app/views/trace/view.html.erb
@@ -1,19 +1,23 @@
-
<%= t'trace.view.filename' %> |
<%= @trace.name %> (<%= link_to t('trace.view.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>) |
-
+
<%= t'trace.view.uploaded' %> |
- <%= l @trace.timestamp %> |
+ <%= l @trace.timestamp, :format => :friendly %> |
<% if @trace.inserted? %>
@@ -35,29 +39,26 @@
<%= t'trace.view.tags' %> |
- <% if @trace.tags %>
- <% @trace.tags.each do |tag| %>
- <%= link_to tag.tag, { :controller => 'trace', :action => 'list', :tag => tag.tag, :id => nil } %>
- <% end %>
+ <% unless @trace.tags.empty? %>
+ <%= raw(@trace.tags.collect { |tag| link_to tag.tag, { :controller => 'trace', :action => 'list', :tag => tag.tag, :id => nil } }.join(", ")) %>
<% else %>
- <%= t'trace.view.none' %>
+ <%= t'trace.view.none' %>
<% end %>
|
+
+ <%= t'trace.view.visibility' %> |
+ <%= t"trace.visibility.#{@trace.visibility}" %> |
+