5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 18:56:21 +00:00

fix: agregadas traduccion y estilos a componente _comment
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
jazzari 2024-01-25 15:48:25 -03:00
parent d9d50cb81e
commit d3e5434a00
2 changed files with 22 additions and 17 deletions

View file

@ -1,18 +1,20 @@
-# Componente Comentario
%p.py-2 Esta línea es donde irá el cuerpo del comentario
.row.border.border-white
.col.col-1.border.border-white
%p= comment['published'] # falta parsear
.col.border.border-white
%a{:href => comment['attributedTo']}= comment['attributedTo'] #falta parsear
.row.border.border-white
%p= "En respuesta a: "
%span
%a{:href => comment['inReplyTo']}= comment['inReplyTo']
.row.border.border-white
%p= comment['content'] #falta parsear
.row
= render 'moderation_queue/comment_button_box'
.flex.mx-4.my-5
.row.no-gutters
.col-1
%input{type: "checkbox", id: ""}
.col-10
.row.border.border-white
.col.col-1.border.border-white.mr-2
%p= comment['published'].to_datetime.strftime('%m/%d/%Y') # falta parsear
.col.border.border-white
%span.mr-3= t('.source_profile')
%a{:href => comment['attributedTo']}= comment['attributedTo'] #falta parsear
.row.border.border-white
%p.mr-3= t('.reply_to')
%span
%a{:href => comment['inReplyTo']}= comment['inReplyTo']
.row.border.border-white
%p= comment['content'] #falta parsear
.row.d-flex.justify-content-center
= render 'moderation_queue/comment_button_box'

View file

@ -1,5 +1,8 @@
es:
moderation_queue:
comment:
source_profile: Cuenta de Origen
reply_to: En respuesta a
remote_profile:
profile: Cuentas
profile_name: Nombre de la Cuenta