]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/relation.html.erb
Improve presentation of supporting links on the terms page
[rails.git] / app / views / browse / relation.html.erb
1 <%
2 @name = printable_name @relation
3 @title = t('browse.relation.relation') + ' | ' + @name
4 %>
5 <% content_for :head do %>
6 <%= stylesheet_link_tag 'browse' %>
7 <% end %>
8 <%= render :partial => "navigation" %>
9 <h2><%= t'browse.relation.relation_title', :relation_name => h(@name) %></h2>
10 <%= render :partial => "map", :object => @relation %>
11 <%= render :partial => "relation_details", :object => @relation %>
12 <hr />
13 <%= t'browse.relation.download', :download_xml_link => link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read"),
14                                  :view_history_link => link_to(t('browse.relation.view_history'), :action => "relation_history") %>