mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-14 22:38:20 +00:00
Merge branch 'issue-15109-1' into production.panel.sutty.nl
This commit is contained in:
commit
c7f6037220
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
.d-flex.flex-row.w-100
|
||||
- local = { report: { class: 'ml-auto', data: { confirm: t('.confirm_report') } } }
|
||||
- ActorModeration.events.each do |actor_event|
|
||||
- possible = !actor_moderation.public_send(:"may_#{actor_event}?")
|
||||
- possible = actor_moderation.public_send(:"may_#{actor_event}?")
|
||||
%div{ class: local.dig(actor_event, :class) }
|
||||
= render 'components/btn_base',
|
||||
text: t(".text_#{actor_event}"),
|
||||
|
|
Loading…
Reference in a new issue