X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d23763d6cdbf5ec11f0e83f8e6e8fb32ed973e6a..533816a3c2b373dbf1ea67c7071890ee27e18aa9:/app/views/browse/feature.html.erb diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index cd333d3bf..9ee9f807f 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -18,6 +18,10 @@ · <% end %> <%= link_to t("browse.view_history"), :action => "#{@type}_history" %> + <% if current_user&.moderator? %> + · + <%= link_to(t("browse.view_unredacted_history"), :action => "#{@type}_history", :params => { :show_redactions => true }) %> + <% end %> <% if @feature.version > 1 %> · <%= link_to({ :controller => "old_#{@type.pluralize}", :action => :show, :version => @feature.version }, :class => "icon-link") do %>