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