5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-19 09:16:22 +00:00

fix: corregidos botones y espacios en details de instancias

This commit is contained in:
jazzari 2024-02-20 14:23:16 -03:00
parent ecab598595
commit 5ee9c49529
5 changed files with 22 additions and 17 deletions

View file

@ -1,3 +1,3 @@
-# Componente Botón general Moderación -# Componente Botón general Moderación
%button.btn.btn-lg.mx-2{ href: href, class: local_assigns[:class] }= text %button.btn.mx-2{ href: href, class: local_assigns[:class] }= text

View file

@ -1,9 +1,8 @@
-# Componente Botonera de Comentarios -# Componente Botonera de Comentarios
.d-flex.py-4 - btn_class = 'btn-secondary'
- btn_class = 'btn-secondary' = render 'components/btn_base', text: t('.text_pause'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_pause'), class: btn_class, href: '' = render 'components/btn_base', text: t('.text_reject'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_reject'), class: btn_class, href: '' = render 'components/btn_base', text: t('.text_accept'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_accept'), class: btn_class, href: '' = render 'components/btn_base', text: t('.text_reply'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_reply'), class: btn_class, href: '' = render 'components/btn_base', text: t('.text_report'), class: btn_class, href: ''
= render 'components/btn_base', text: t('.text_report'), class: btn_class, href: ''

View file

@ -2,9 +2,14 @@
- host ||= instance['uri'] - host ||= instance['uri']
- host = "https://#{host}" - host = "https://#{host}"
%a{ href: host }= instance['title'] .row.no-gutters.pt-2
%p= instance['description'].html_safe .col-1
%p = render 'components/checkbox'
.col-11
%h4
%a{ href: host }= instance['title']
%p= instance['description'].html_safe
%p
%span= t('.users') %span= t('.users')
%span %span
= instance.dig('usage', 'users', 'active_month') = instance.dig('usage', 'users', 'active_month')

View file

@ -5,8 +5,9 @@
= render 'moderation_queue/instance', instance: instance = render 'moderation_queue/instance', instance: instance
-# Botones moderación -# Botones moderación
.d-flex.py-5 .d-flex.pb-4
= render 'components/instances_btn_box' = render 'components/instances_btn_box'
%hr
%h3.mt-5= t('moderation_queue.instances.title') %h3.mt-5= t('moderation_queue.instances.title')
%lead= t('moderation_queue.instances.description') %lead= t('moderation_queue.instances.description')

View file

@ -5,5 +5,5 @@
= render 'moderation_queue/comment', comment: comment, profile: comment['attributedTo'] = render 'moderation_queue/comment', comment: comment, profile: comment['attributedTo']
-# Botones moderación -# Botones moderación
.d-flex.py-4 .d-flex
= render 'components/comments_btn_box' = render 'components/comments_btn_box'