]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way_history.html.erb
a747572c1c87e772622b71dd14da12e8d2a0cd15
[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>
7     <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
8     <%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
9 </h2>
10
11 <% @way.old_ways.reverse.each do |way| %>
12   <%= render :partial => "way_details", :object => way %>
13 <% end %>
14
15 <div class='secondary-actions clearfix'>
16   <span><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
17     &middot;
18   <%= link_to(t('browse.way_history.view_details'), :action => "way") %></span>
19 </div>