]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/relation_history.html.erb
Added better messages and error handling in a couple of places. Added integration...
[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       <%= t'browse.relation_history.download', :download_xml_link => link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history"), 
15                                                :view_details_link => link_to(t('browse.relation_history.view_details'), :action => "relation") %>
16     </td>
17     <%= render :partial => "map", :object => @relation %>
18   </tr>
19 </table>