]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_way_details.html.erb
Reposition the zoom slider after recreating the SimplePanZoom control
[rails.git] / app / views / browse / _way_details.html.erb
index 648009f565d5d8290df08bad1c0aba3aeb5c1b42..1313cb250575e80fce986c556380dce7b8840602 100644 (file)
@@ -1,3 +1,6 @@
+<% if way_details.redacted? %>
+<p><%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.way'), :redaction_link => link_to(t('browse.redacted.redaction', :id => way_details.redaction.id), way_details.redaction), :version => way_details.version %></p>
+<% else %>
 <table class="browse_details" id="<%= way_details.version %>">
 
   <%= render :partial => "common_details", :object => way_details %>
@@ -33,3 +36,4 @@
   <% end %>
 
 </table>
+<% end %>