]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way_history.rhtml
1eaf52ed532a50cc9fbe35239effd1029ce46a12
[rails.git] / app / views / browse / way_history.rhtml
1 <h2>Way History: <%= h(@name) %></h2>
2
3 <table width="100%">
4   <tr valign="top">
5     <td>
6       <% @way.old_ways.reverse.each do |way| %>
7         <%= render :partial => "way_details", :object => way %>
8         <hr />
9       <% end %>
10       <%= link_to "Download XML", :controller => "old_way", :action => "history" %>
11       or
12       <%= link_to "view details", :action => "way" %>
13     </td>
14     <td align="right">
15       <% if @way.visible %>
16         <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %>
17       <% else %>
18         Deleted
19       <% end %>
20     </td>
21   </tr>
22 </table>