mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 05:46:21 +00:00
Merge remote-tracking branch 'refs/remotes/origin/issue-14966' into issue-14966
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
a17a3dc700
5 changed files with 9 additions and 9 deletions
|
@ -3,12 +3,12 @@
|
||||||
.d-flex.py-2.justify-content-center
|
.d-flex.py-2.justify-content-center
|
||||||
-# parámetros de botones
|
-# parámetros de botones
|
||||||
-# text, class, href
|
-# text, class, href
|
||||||
- @btn_box_params = [[t('.text_pause'), 'btn-outline-secondary disabled', ''],
|
- btn_box_params = [[t('.text_pause'), 'btn-outline-secondary disabled', ''],
|
||||||
[t('.text_reject'), 'btn-outline-info', ''],
|
[t('.text_reject'), 'btn-outline-info', ''],
|
||||||
[t('.text_accept'), 'bg-blue white', ''],
|
[t('.text_accept'), 'bg-blue white', ''],
|
||||||
[t('.text_reply'), 'btn-outline-dark', ''],
|
[t('.text_reply'), 'btn-outline-dark', ''],
|
||||||
[t('.text_report'), 'btn-outline-danger', '']]
|
[t('.text_report'), 'btn-outline-danger', '']]
|
||||||
|
|
||||||
- @btn_box_params.each do |btn|
|
- btn_box_params.each do |btn|
|
||||||
- @class = btn[1]
|
- @class = btn[1]
|
||||||
= render 'moderation_queue/btn_base', href: btn[2], class: @class, text: btn[0]
|
= render 'moderation_queue/btn_base', href: btn[2], class: @class, text: btn[0]
|
|
@ -3,10 +3,10 @@
|
||||||
.d-flex.py-2.justify-content-center
|
.d-flex.py-2.justify-content-center
|
||||||
-# parámetros de botones
|
-# parámetros de botones
|
||||||
-# text, class, href
|
-# text, class, href
|
||||||
- @btn_box_params = [[t('.text_deny'), 'btn-outline-info', ''],
|
- btn_box_params = [[t('.text_deny'), 'btn-outline-info', ''],
|
||||||
[t('.text_allow'), 'btn-success', 'https://sutty.nl/'],
|
[t('.text_allow'), 'btn-success', 'https://sutty.nl/'],
|
||||||
[t('.text_report'), 'btn-outline-danger', 'https://sutty.nl/']]
|
[t('.text_report'), 'btn-outline-danger', 'https://sutty.nl/']]
|
||||||
|
|
||||||
- @btn_box_params.each do |btn|
|
- btn_box_params.each do |btn|
|
||||||
- @class = btn[1]
|
- @class = btn[1]
|
||||||
= render 'moderation_queue/btn_base', href: btn[2], class: @class, text: btn[0]
|
= render 'moderation_queue/btn_base', href: btn[2], class: @class, text: btn[0]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.flex.py-2.mx-2.text-center
|
.flex.py-2.mx-2.text-center
|
||||||
%h4= t('.profile_name') + ": " + @remote_profile['name']
|
%h4= t('.profile_name') + ': ' + remote_profile['name']
|
||||||
%h5= t('.profile_id') + ": " + @remote_profile['id']
|
%h5= t('.profile_id') + ': ' + remote_profile['id']
|
||||||
%h5= t('.profile_published') + ": " + @remote_profile['published'].to_datetime.strftime('%m/%d/%Y')
|
%h5= t('.profile_published') + ': ' + remote_profile['published'].to_datetime.strftime('%m/%d/%Y')
|
||||||
= render 'moderation_queue/profile_button_box'
|
= render 'moderation_queue/profile_button_box'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
.flex
|
.flex
|
||||||
%h1.text-center= t('.profile')
|
%h1.text-center= t('.profile')
|
||||||
= render 'moderation_queue/remote_profile'
|
= render 'moderation_queue/remote_profile', remote_profile: @remote_profile
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.flex
|
.flex
|
||||||
%h3.text-center.py-2 Comentarios
|
%h3.text-center.py-2 Comentarios
|
||||||
= render 'moderation_queue/comment_filter_box'
|
= render 'moderation_queue/comment_filter_box'
|
||||||
- @moderation_queue.each do |comment|
|
- moderation_queue.each do |comment|
|
||||||
= render 'moderation_queue/comment', comment: comment
|
= render 'moderation_queue/comment', comment: comment
|
||||||
.row.d-flex.justify-content-center
|
.row.d-flex.justify-content-center
|
||||||
= render 'moderation_queue/comment_button_box'
|
= render 'moderation_queue/comment_button_box'
|
||||||
|
|
Loading…
Reference in a new issue