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

21 lines
530 B
Text
Raw 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
%dl.d-inline-flex
%dt.pr-2= t('.users')
%dd
= instance.dig('usage', 'users', 'active_month')
= instance.dig('stats', 'user_count')
-# Botones moderación
.d-flex.pb-4
= render 'components/instances_btn_box'