mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
fix post template
This commit is contained in:
parent
31ae960e23
commit
0ce797bbd9
1 changed files with 8 additions and 3 deletions
|
@ -1,17 +1,22 @@
|
|||
article.block.communication id="post_#{@post.id}"
|
||||
.block__content.flex.flex--no-wrap
|
||||
.flex__fixed.spacing-right
|
||||
= render PhilomenaWeb.UserAttributionView, "_anon_user_avatar.html", object: @post, awards: true, conn: @conn
|
||||
= render PhilomenaWeb.UserAttributionView, "_anon_user_avatar.html", object: @post, conn: @conn
|
||||
|
||||
.flex__grow.communication__body
|
||||
span.communication__body__sender-name = render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @post, conn: @conn
|
||||
span.communication__body__sender-name = render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @post, awards: true, conn: @conn
|
||||
br
|
||||
|
||||
= render PhilomenaWeb.UserAttributionView, "_anon_user_title.html", object: @post, conn: @conn
|
||||
|
||||
.communication__body__text
|
||||
= if !@post.hidden_from_users do
|
||||
= if @post.hidden_from_users do
|
||||
strong.comment_deleted
|
||||
' Deletion reason:
|
||||
=> @post.deletion_reason
|
||||
- else
|
||||
==<> @body
|
||||
|
||||
|
||||
.block__content.communication__options
|
||||
.flex.flex--wrap.flex--spaced-out
|
||||
|
|
Loading…
Reference in a new issue