2024-02-21 16:50:29 +00:00
|
|
|
-# Componente Listas de bloqueo de Instancias
|
2024-02-27 19:39:02 +00:00
|
|
|
- know_more = t('.know_more')
|
2024-02-28 20:12:33 +00:00
|
|
|
- instances_blocked = t('.instances_blocked')
|
2024-02-21 16:50:29 +00:00
|
|
|
.card.mt-3.mb-3
|
|
|
|
.card-body
|
2024-02-27 19:39:02 +00:00
|
|
|
= render 'components/checkbox', id: state.id, name: 'fediblock_states_ids[]', value: state.id, checked: state.enabled? do
|
|
|
|
%span.h4.mb-0= blocklist.title
|
|
|
|
|
|
|
|
%dl.mb-0
|
2024-02-28 20:12:33 +00:00
|
|
|
%dt.d-inline= instances_blocked
|
2024-02-28 18:47:40 +00:00
|
|
|
%dd.d-inline.font-weight-normal= blocklist.hostnames.count
|
2024-02-27 19:39:02 +00:00
|
|
|
%p.mb-0.font-weight-normal
|
|
|
|
%a{ href: blocklist.url }= know_more
|