]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/node_history.html.erb
Style browse 404 page and simplify wording, closes #53
[rails.git] / app / views / browse / node_history.html.erb
1 <%
2   @name = printable_name @node
3   set_title(t('browse.node_history.node_history') + ' | ' + @name)
4 %>
5
6 <h2>
7   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
8   <%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
9 </h2>
10
11 <% @node.old_nodes.reverse.each do |node| %>
12   <%= render :partial => "node_details", :object => node %>
13 <% end %>
14
15 <div class='secondary-actions'>
16   <%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %>
17   &middot;
18   <%= link_to(t('browse.node_history.view_details'), :action => "node") %>
19 </div>