X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/93dab8a1272f8c807da841c0a55b37f74b65b8c3..9189093997610a8f289037d37b683c9fed060ae1:/app/views/trace/_trace.rhtml
diff --git a/app/views/trace/_trace.rhtml b/app/views/trace/_trace.rhtml
index f7ea77219..a7d4b18c0 100644
--- a/app/views/trace/_trace.rhtml
+++ b/app/views/trace/_trace.rhtml
@@ -2,21 +2,25 @@
<% cl = cycle('table0', 'table1') %>
<% if trace.inserted %>
-
-
-
+
<% end %>
|
- <%= link_to trace.name, {:controller => 'trace', :action => 'onetrace', :id => trace.id} %>
+ | <%= 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 %>
|