]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/node_history.html.erb
Link to sources for bulk downloads
[rails.git] / app / views / browse / node_history.html.erb
1 <%
2 @name = printable_name @node
3 @title = t('browse.node_history.node_history') + ' | ' + @name
4 %>
5 <% content_for :head do %>
6 <%= stylesheet_link_tag 'browse' %>
7 <% end %>
8
9 <% content_for :heading do %>
10   <h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %></h2>
11   <ul class='secondary-actions clearfix'>
12     <li><%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %></li>
13     <li><%= link_to(t('browse.node_history.view_details'), :action => "node") %></li>
14   </ul>
15 <% end %>
16
17 <% if @node.visible -%>
18   <%= render :partial => "map", :object => @node %>
19 <% end -%>
20
21 <div class='column-1'>
22   <% @node.old_nodes.reverse.each do |node| %>
23     <%= render :partial => "node_details", :object => node %>
24   <% end %>
25 </div>