threads: hide signature delimiter if there is no signature

This commit is contained in:
Lephe 2020-10-31 10:11:07 +01:00
parent ee01a4c768
commit 05c16b8fa8
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 4 additions and 2 deletions

View File

@ -22,8 +22,10 @@
{{ widget_attachments.attachments(c) }}
<hr style="opacity:0.2;">
{{ c.author.signature|md }}
{% if c.author.signature != "" %}
<hr style="opacity:0.2;">
{{ c.author.signature|md }}
{% endif %}
{% elif loop.index0 != 0 %}
<div>Ce message est le top comment</div>
{% endif %}