]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/node_history.html.erb
Improve changeset template
[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
6 <div class='browse-section header'>
7     <h2><%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
8         <span class="icon close"></span>
9     </h2>
10 </div>
11
12 <% @node.old_nodes.reverse.each do |node| %>
13   <%= render :partial => "node_details", :object => node %>
14 <% end %>
15
16 <div class='browse-section secondary-actions clearfix'> 
17   <span><%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %>
18     &middot;
19   <%= link_to(t('browse.node_history.view_details'), :action => "node") %></span>
20 </div>