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