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

32 lines
1.9 KiB
Text
Raw Normal View History

-# Componente Remote_Profile
.flex.py-2.mx-2.text-center
-# Filtros
.d-flex.py-2.justify-content-center
= render 'components/dropdown', text: t('moderation_queue.filter_box.text_checked') do
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_pause'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_reject'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_accept'), path: '/'
= render 'components/dropdown', text: t('moderation_queue.filter_box.text_show') do
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_pause'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_reject'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_accept'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_report'), path: '/'
%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']
-# 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: ''