From 461c26f1594e3ef6b75ad66d67a45f82d3dc2d77 Mon Sep 17 00:00:00 2001 From: Bat Date: Thu, 21 Jun 2018 14:40:00 +0100 Subject: [PATCH] Move comment form to the post page --- po/plume.pot | 3 +++ templates/posts/details.html.tera | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/po/plume.pot b/po/plume.pot index 683ee161..64032f48 100644 --- a/po/plume.pot +++ b/po/plume.pot @@ -278,3 +278,6 @@ msgstr "" msgid "{{ data }} mentioned you." msgstr "" + +msgid "Your comment" +msgstr "" diff --git a/templates/posts/details.html.tera b/templates/posts/details.html.tera index 097ff3a2..63a93f66 100644 --- a/templates/posts/details.html.tera +++ b/templates/posts/details.html.tera @@ -60,7 +60,16 @@

{{ "Comments" | _ }}

- {{ "Comment" | _ }} + + {% if account %} +
+ + {# Ugly, but we don't have the choice if we don't want weird paddings #} + + +
+ {% endif %} +
{% for comment in comments %} {% if comment.author.display_name %}