]> git.openstreetmap.org Git - rails.git/blob - app/views/trace/_trace.rhtml
trace stuff in rails port
[rails.git] / app / views / trace / _trace.rhtml
1 <tr>
2   <% cl = cycle('table0', 'table1') %>
3   <td class="<%= cl %>">image here</td>
4   <td class="<%= cl %>"><%= link_to trace.name, {:controller => 'trace', :action => 'onetrace', :id => trace.id} %>
5     <span class="gpxsummary" title="<%= trace.timestamp %>"> ... 
6       <% if trace.inserted %> 
7       (<%= trace.size %> points)
8       <% end %> 
9       ... <%= time_ago_in_words( trace.timestamp ) %>  ago</span>
10     <a href="/traces/user/blars/12701" title="more detail..." >more</a> /
11     <a href="/edit.html?lat=34.1032333&lon=-118.2272333&zoom=14" title="create maps">map</a><br />
12       <%= trace.description %>
13     <br />
14     by <%= link_to trace.user.display_name, {:controller => 'trace', :action => 'list', :user => trace.user.display_name} %>
15   </td>
16 </tr>