mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 19:16:23 +00:00
fix: doble negación
This commit is contained in:
parent
fe51ef2193
commit
452ca43508
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
.d-flex.flex-row.w-100
|
.d-flex.flex-row.w-100
|
||||||
- local = { report: { class: 'ml-auto', data: { confirm: t('.confirm_report') } } }
|
- local = { report: { class: 'ml-auto', data: { confirm: t('.confirm_report') } } }
|
||||||
- ActorModeration.events.each do |actor_event|
|
- 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) }
|
%div{ class: local.dig(actor_event, :class) }
|
||||||
= render 'components/btn_base',
|
= render 'components/btn_base',
|
||||||
text: t(".text_#{actor_event}"),
|
text: t(".text_#{actor_event}"),
|
||||||
|
|
Loading…
Reference in a new issue