From 05c16b8fa81efa3efcf9fc1225bc5d9f9e1864ad Mon Sep 17 00:00:00 2001 From: Lephe Date: Sat, 31 Oct 2020 10:11:07 +0100 Subject: [PATCH] threads: hide signature delimiter if there is no signature --- app/templates/widgets/thread.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/templates/widgets/thread.html b/app/templates/widgets/thread.html index e0a0c57..b5cf1e1 100644 --- a/app/templates/widgets/thread.html +++ b/app/templates/widgets/thread.html @@ -22,8 +22,10 @@ {{ widget_attachments.attachments(c) }} -
- {{ c.author.signature|md }} + {% if c.author.signature != "" %} +
+ {{ c.author.signature|md }} + {% endif %} {% elif loop.index0 != 0 %}
Ce message est le top comment
{% endif %}