5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-21 05:10:48 +00:00

Merge branch 'issue-15109-1' into production.panel.sutty.nl

This commit is contained in:
f 2024-04-19 13:08:17 -03:00
commit c7f6037220
No known key found for this signature in database

View file

@ -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}"),