5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 02:36:21 +00:00
panel/app/views/moderation_queue/_instance.haml

17 lines
420 B
Text
Raw Permalink Normal View History

- host = instance['domain']
- host ||= instance['uri']
2024-02-21 16:50:29 +00:00
- hosthttps = "https://#{host}"
.row.no-gutters.pt-2
.col-1
2024-02-21 16:50:29 +00:00
= render 'components/checkbox', id: host
.col-11
%h4
2024-02-21 16:50:29 +00:00
%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')