]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/feature.html.erb
Implement context menu with: directions, add note, describe, centre.
[rails.git] / app / views / browse / feature.html.erb
1 <% set_title(t("browse.#{@type}.title", :name => printable_name(@feature))) %>
2
3 <h2>
4   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
5   <%= raw t("browse.#{@type}.title", :name => printable_name(@feature)) %>
6 </h2>
7
8 <%= render :partial => @type, :object => @feature %>
9
10 <div class='secondary-actions'>
11   <%= link_to(t('browse.download_xml'), :controller => @type, :action => "read") %>
12   &middot;
13   <%= link_to(t('browse.view_history'), :action => "#{@type}_history") %>
14 </div>