]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/relation_history.html.erb
Fix missing </div> and wrong translation names in layout database offline alert box.
[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 => h(@name) %></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>