From 7bcab5bb59e1dbc66e8b715ee809270b26abf882 Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 30 May 2024 14:32:08 +0200 Subject: [PATCH] fix: Fix "no comments" --- .../fellchensammlung/partials/partial-comment-section.html | 4 +++- .../fellchensammlung/partials/partial-comment.html | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment-section.html b/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment-section.html index f2a1240..8823b14 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment-section.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment-section.html @@ -7,7 +7,9 @@ {% include "fellchensammlung/partials/partial-comment.html" %} {% endfor %} {% else %} - {% translate 'Noch keine Kommentare' %} +
+

{% translate 'Noch keine Kommentare' %}

+
{% endif %} \ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment.html b/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment.html index e763aac..54af454 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/partial-comment.html @@ -5,9 +5,9 @@ {{ comment.user }} {{ comment.created_at }} -

- {{ comment.text | render_markdown }} -

+

+ {{ comment.text | render_markdown }} +