5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 08:16:26 +00:00
panel/app/views/components/_block_list.haml

14 lines
515 B
Text
Raw Normal View History

2024-02-21 16:50:29 +00:00
-# Componente Listas de bloqueo de Instancias
- 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
= 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
%dd.d-inline.font-weight-normal= blocklist.hostnames.count
%p.mb-0.font-weight-normal
%a{ href: blocklist.url }= know_more