5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:16:21 +00:00

fix: arreglando conflictos
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
maki 2024-01-23 17:17:06 -03:00
commit d9d50cb81e
6 changed files with 30 additions and 4 deletions

View file

@ -15,4 +15,4 @@
.row.border.border-white .row.border.border-white
%p= comment['content'] #falta parsear %p= comment['content'] #falta parsear
.row .row
= render 'moderation_queue/button_box' = render 'moderation_queue/comment_button_box'

View file

@ -0,0 +1,12 @@
-# Componente Botonera de Profile
.d-flex.py-2.justify-content-center
-# parámetros de botones
-# text, class, href
- @btn_box_params = [[t('.text_deny'), 'btn-outline-info', ''],
[t('.text_allow'), 'btn-success', 'https://sutty.nl/'],
[t('.text_report'), 'btn-outline-danger', 'https://sutty.nl/']]
- @btn_box_params.each do |btn|
- @class = btn[1]
= render 'moderation_queue/btn_base', href: btn[2], class: @class, text: btn[0]

View file

@ -0,0 +1,5 @@
.flex.py-2.mx-2.text-center
%h4= t('.profile_name') + ": " + @remote_profile['name']
%h5= t('.profile_id') + ": " + @remote_profile['id']
%h5= t('.profile_published') + ": " + @remote_profile['published']
= render 'moderation_queue/profile_button_box'

View file

@ -1 +1,3 @@
%h1= @remote_profile['name'] .flex
%h1.text-center= t('.profile')
= render 'moderation_queue/remote_profile'

View file

@ -1,8 +1,15 @@
es: es:
moderation_queue: moderation_queue:
remote_profile: remote_profile:
user: Nombre de usuario profile: Cuentas
button_box: profile_name: Nombre de la Cuenta
profile_id: ID
profile_published: Publicada
profile_button_box:
text_deny: Bloquear que te siga
text_allow: Permitir que te siga
text_report: Reportar
comment_button_box:
text_pause: Pausa text_pause: Pausa
text_reject: Rechazar text_reject: Rechazar
text_accept: Aceptar Publicación text_accept: Aceptar Publicación