]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/relation_history.html.erb
Add close icons
[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 <div class='browse-section header'>
7     <h2><%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
8         <span class="icon close"></span>
9     </h2>
10 </div>
11
12 <% @relation.old_relations.reverse.each do |relation| %>
13   <%= render :partial => "relation_details", :object => relation %>
14 <% end %>
15
16 <div class='secondary-actions clearfix'>
17   <span><%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
18   <%= link_to(t('browse.relation_history.view_details'), :action => "relation") %></span>
19 </div>