]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way_history.html.erb
groundwork for responsive menu
[rails.git] / app / views / browse / way_history.html.erb
1 <%
2 @name = printable_name @way
3 @title = t('browse.way_history.way_history') + ' | ' + @name
4 %>
5
6 <h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
7     <span class="icon close"></span>
8 </h2>
9
10 <% @way.old_ways.reverse.each do |way| %>
11   <%= render :partial => "way_details", :object => way %>
12 <% end %>
13
14 <div class='secondary-actions clearfix'>
15   <span><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
16     &middot;
17   <%= link_to(t('browse.way_history.view_details'), :action => "way") %></span>
18 </div>