]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way.html.erb
Improve browse design
[rails.git] / app / views / browse / way.html.erb
1 <%
2  @name = printable_name @way
3   set_title(t('browse.way.way') + ' | ' + @name)
4 %>
5
6 <h2>
7   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
8   <%= t'browse.way.way_title', :way_name => @name %>
9 </h2>
10
11 <%= render :partial => "way_details", :object => @way %>
12
13 <div class='secondary-actions'>
14   <%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
15   &middot;
16   <%= link_to(t('browse.way.view_history'), :action => "way_history") %>
17 </div>