2024-02-28 19:42:18 +00:00
|
|
|
- usuaries = instance.content.dig('usage', 'users', 'active_month')
|
|
|
|
- usuaries ||= instance.content.dig('stats', 'user_count')
|
|
|
|
|
2024-02-20 17:23:16 +00:00
|
|
|
.row.no-gutters.pt-2
|
|
|
|
.col-1
|
2024-03-04 17:26:41 +00:00
|
|
|
= render 'components/checkbox', id: instance.hostname, form_id: form_id, name: 'instance_moderation[]', value: instance_moderation.id, data: { target: 'select-all.input' }
|
2024-02-20 17:23:16 +00:00
|
|
|
.col-11
|
2024-02-24 16:04:52 +00:00
|
|
|
%h4
|
2024-02-28 19:42:18 +00:00
|
|
|
%a{ href: instance.uri }= sanitize(instance.content['title']) || instance.hostname
|
2024-03-04 16:17:21 +00:00
|
|
|
.content
|
|
|
|
= sanitize instance.content['description']
|
2024-02-28 19:42:18 +00:00
|
|
|
- if usuaries.present?
|
|
|
|
%dl
|
|
|
|
%dt.d-inline= t('.users')
|
2024-03-04 16:17:21 +00:00
|
|
|
%dd.d-inline= text_plain usuaries.to_s
|
2024-02-27 18:40:46 +00:00
|
|
|
|
2024-02-27 15:25:09 +00:00
|
|
|
-# Botones moderación
|
|
|
|
.d-flex.pb-4
|
2024-02-27 17:06:08 +00:00
|
|
|
= render 'components/instances_btn_box', instance_moderation: instance_moderation
|