]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/relation_history.html.erb
Sidebar close reverts to 'view' state
[rails.git] / app / views / browse / relation_history.html.erb
1 <%
2 @name = printable_name @relation
3 @title = t('browse.relation_history.relation_history') + ' | ' + @name
4 %>
5
6 <h2><%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
7     <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
8 </h2>
9
10 <% @relation.old_relations.reverse.each do |relation| %>
11   <%= render :partial => "relation_details", :object => relation %>
12 <% end %>
13
14 <div class='secondary-actions clearfix'>
15   <span><%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
16   <%= link_to(t('browse.relation_history.view_details'), :action => "relation") %></span>
17 </div>