X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1fa2972bcd72a26e5b890316e39eec635aedd796..cbf6b394644e5eff071ecab3cae3f17842fd3631:/app/views/browse/feature.html.erb?ds=sidebyside 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 %>