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

13 lines
475 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-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
%dt.d-inline= t('.instances_blocked')
%dd.d-inline.font-weight-normal= blocklist.hostnames.count
%p.mb-0.font-weight-normal
%a{ href: blocklist.url }= know_more