5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 22:36:21 +00:00
panel/app/views/moderation_queue/_remote_profile.haml

25 lines
1.2 KiB
Text
Raw Normal View History

-# Componente Remote_Profile
.flex.py-2.mx-2.text-center
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
2024-02-06 15:57:42 +00:00
%h5= t('.profile_id') + ': ' + remote_profile['id']
2024-01-29 18:32:47 +00:00
%h5= t('.profile_published') + ': ' + remote_profile['published'].to_datetime.strftime('%m/%d/%Y')
%h5= t('.profile_summary') + ':'
%p= sanitize remote_profile['summary']
2024-02-07 18:03:48 +00:00
= render 'moderation_queue/comments', moderation_queue: @moderation_queue
%h3.text-center.pt-4= t('.profile')
%h4.my-2.text-center= t('.profile_name') + ': ' + remote_profile['name']
-# Botones de Moderación
.d-flex.py-4.justify-content-center
- @class = 'btn-success'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
- @class = 'btn-outline-success'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_check'), class: @class, href: ''
- @class = 'bg-blue white'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_deny'), class: @class, href: ''
- @class = 'btn-danger'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''