fix post template

This commit is contained in:
byte[] 2019-11-29 23:53:37 -05:00
parent 31ae960e23
commit 0ce797bbd9

View file

@ -1,18 +1,23 @@
article.block.communication id="post_#{@post.id}" article.block.communication id="post_#{@post.id}"
.block__content.flex.flex--no-wrap .block__content.flex.flex--no-wrap
.flex__fixed.spacing-right .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 .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 br
= render PhilomenaWeb.UserAttributionView, "_anon_user_title.html", object: @post, conn: @conn = render PhilomenaWeb.UserAttributionView, "_anon_user_title.html", object: @post, conn: @conn
.communication__body__text .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 ==<> @body
.block__content.communication__options .block__content.communication__options
.flex.flex--wrap.flex--spaced-out .flex.flex--wrap.flex--spaced-out
= render PhilomenaWeb.PostView, "_post_options.html", conn: @conn, post: @post = render PhilomenaWeb.PostView, "_post_options.html", conn: @conn, post: @post