]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/relation_history.html.erb
Merge 16110:16216 from trunk.
[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 <h2><%= t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %></h2>
6
7 <table width="100%">
8   <tr valign="top">
9     <td>
10       <% @relation.old_relations.reverse.each do |relation| %>
11         <%= render :partial => "relation_details", :object => relation %>
12         <hr />
13       <% end %>
14       <%= link_to "Download XML", :controller => "old_relation", :action => "history" %>
15       or
16       <%= link_to "view details", :action => "relation" %>
17     </td>
18     <%= render :partial => "map", :object => @relation %>
19   </tr>
20 </table>