]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/relation.html.erb
Add user images to lists of diary entries.
[rails.git] / app / views / browse / relation.html.erb
1 <%
2 @name = printable_name @relation
3 @title = t('browse.relation.relation') + ' | ' + @name
4 %>
5 <table width="100%">
6   <tr>
7     <td>
8       <h2><%= t'browse.relation.relation_title', :relation_name => h(@name) %></h2>
9     </td>
10     <td>
11       <%= render :partial => "navigation" %>
12     </td>
13   </tr>
14   <tr valign="top">
15     <td>
16       <%= render :partial => "relation_details", :object => @relation %>
17       <hr />
18       <%= t'browse.relation.download', :download_xml_link => link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read"),
19                                        :view_history_link => link_to(t('browse.relation.view_history'), :action => "relation_history") %>
20     </td>
21     <%= render :partial => "map", :object => @relation %>
22   </tr>
23 </table>