]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_node_details.rhtml
Make browse controller index show recently closed changesets, rather than recently...
[rails.git] / app / views / browse / _node_details.rhtml
1 <table>
2
3   <%= render :partial => "common_details", :object => node_details %>
4
5   <% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %>
6     <tr valign="top">
7       <th>Part of:</th>
8       <td>
9         <table padding="0">
10           <% node_details.ways.each do |way| %>
11             <tr><td><%= link_to "Way " + way.id.to_s, :action => "way", :id => way.id.to_s %></td></tr>
12           <% end %>
13           <%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
14         </table>
15       </td>
16     </tr>      
17   <% end %>
18
19 </table>