]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way_history.html.erb
Merge remote-tracking branch 'osmlab/id-editor-embed'
[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 <% content_for :head do %>
6 <%= stylesheet_link_tag 'browse' %>
7 <% end %>
8
9 <% content_for :heading do %>
10   <h2><%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
11   <ul class='secondary-actions clearfix'>
12     <li><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %></li>
13     <li><%= link_to(t('browse.way_history.view_details'), :action => "way") %></li>
14   </ul>
15 <% end %>
16
17 <%= render :partial => "map", :object => @way %>
18 <div class='column-1'>
19 <% @way.old_ways.reverse.each do |way| %>
20   <%= render :partial => "way_details", :object => way %>
21 <% end %>
22 </div>