+ <% if params[:show_redactions] %>
+ ·
+ <%= link_to(t("browse.view_history"), :action => "#{@type}_history") %>
+ <% elsif current_user&.moderator? %>
+ ·
+ <%= link_to(t("browse.view_unredacted_history"), :action => "#{@type}_history", :params => { :show_redactions => true }) %>
+ <% end %>