mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:56:21 +00:00
10 lines
442 B
Text
10 lines
442 B
Text
|
- if policy(ModerationQueue.new(site)).index?
|
||
|
- moderation_needed = site.moderation_needed?
|
||
|
|
||
|
- local_assigns[:class] = "btn btn-secondary #{local_assigns[:class]}"
|
||
|
= link_to site_moderation_queue_path(site), class: local_assigns[:class], title: (t('.moderation_needed') if moderation_needed) do
|
||
|
= t('moderation_queue.index.title')
|
||
|
- if moderation_needed
|
||
|
%span.primary ⏺
|
||
|
%span.sr-only= t('.moderation_needed')
|