Add global anon blocks to moderation sidebar

This commit is contained in:
Andreas Nedbal 2022-11-20 18:04:46 +01:00 committed by Andreas Nedbal
parent 695ce57762
commit cc00fff8cd
2 changed files with 4 additions and 3 deletions

View file

@ -16,9 +16,6 @@
= link_to moderation_toggle_unmask_path, class: "dropdown-item", data: { turbo_method: :post } do
%i.fa.fa-toggle-off
= t(".unmask.enable")
%a.dropdown-item{ href: mod_anon_block_index_path }
%i.fa.fa-fw.fa-volume-off
= t(".site_wide_blocks")
%a.dropdown-item{ href: moderation_reports_path }
%i.fa.fa-fw.fa-gavel
= t(".moderation")

View file

@ -6,4 +6,8 @@
= list_group_item t(".users"), moderation_reports_path("user")
= list_group_item t(".questions"), moderation_reports_path("question")
.card
.list-group
= list_group_item t(".site_wide_blocks"), mod_anon_block_index_path
.d-none.d-sm-block= render "shared/links"