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