]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way_history.html.erb
Don't limit get map_bugs to a small Area, by disabling the quadtile index for those...
[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
7 <table width="100%">
8   <tr valign="top">
9     <td>
10       <% @way.old_ways.reverse.each do |way| %>
11         <%= render :partial => "way_details", :object => way %>
12         <hr />
13       <% end %>
14       <%= t'browse.way_history.download', :download_xml_link => link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history"), 
15                                           :view_details_link => link_to(t('browse.way_history.view_details'), :action => "way") %>
16     </td>
17     <%= render :partial => "map", :object => @way %>
18   </tr>
19 </table>