5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 21:46:22 +00:00
panel/app/views/moderation_queue/_instance.haml
2024-02-21 13:50:29 -03:00

16 lines
420 B
Text

- host = instance['domain']
- host ||= instance['uri']
- hosthttps = "https://#{host}"
.row.no-gutters.pt-2
.col-1
= render 'components/checkbox', id: host
.col-11
%h4
%a{ href: hosthttps }= instance['title']
%p= instance['description'].html_safe
%p
%span= t('.users')
%span
= instance.dig('usage', 'users', 'active_month')
= instance.dig('stats', 'user_count')