mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 00:26:22 +00:00
fix: agregadas traduccion y estilos a componente _comment
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:
parent
d9d50cb81e
commit
d3e5434a00
2 changed files with 22 additions and 17 deletions
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue