]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way_history.html.erb
Merge branch 'openID' of git://github.com/avar/osm-website into openID
[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 <h2><%= t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %></h2>
6 <%= render :partial => "map", :object => @way %>
7 <% @way.old_ways.reverse.each do |way| %>
8   <%= render :partial => "way_details", :object => way %>
9   <hr />
10 <% end %>
11 <%= t'browse.way_history.download', :download_xml_link => link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history"), 
12                                     :view_details_link => link_to(t('browse.way_history.view_details'), :action => "way") %>