X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/46e9dcbcc7ba632db77a2137ee0da2a66d77c47b..9189093997610a8f289037d37b683c9fed060ae1:/app/views/trace/_trace.rhtml diff --git a/app/views/trace/_trace.rhtml b/app/views/trace/_trace.rhtml index 73fb5080c..a7d4b18c0 100644 --- a/app/views/trace/_trace.rhtml +++ b/app/views/trace/_trace.rhtml @@ -1,16 +1,26 @@ <% cl = cycle('table0', 'table1') %> - image here - <%= link_to trace.name, {:controller => 'trace', :action => 'onetrace', :id => trace.id} %> + + <% if trace.inserted %> + + <% end %> + + <%= link_to trace.name, {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %> ... <% if trace.inserted %> (<%= trace.size %> points) <% end %> ... <%= time_ago_in_words( trace.timestamp ) %> ago - more / + <%= link_to 'more', {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %> / map
<%= trace.description %>
- by <%= link_to trace.user.display_name, {:controller => 'trace', :action => 'list', :user => trace.user.display_name} %> + by <%= link_to trace.user.display_name, {:controller => 'trace', :action => 'list', :display_name => trace.user.display_name} %> + in + <% if trace.tags %> + <% trace.tags.each do |tag| %> + <%= link_to tag.tag, :controller => 'trace', :action => 'bytag', :tag => tag.tag %> + <% end %> + <% end %>