mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:19:52 +01:00
Add global anon blocks to moderation sidebar
This commit is contained in:
parent
695ce57762
commit
cc00fff8cd
2 changed files with 4 additions and 3 deletions
|
@ -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")
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue