fix: Fix "no comments"

This commit is contained in:
moanos [he/him] 2024-05-30 14:32:08 +02:00
parent e77a936c30
commit 7bcab5bb59
2 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,9 @@
{% include "fellchensammlung/partials/partial-comment.html" %}
{% endfor %}
{% else %}
{% translate 'Noch keine Kommentare' %}
<div class="card">
<p>{% translate 'Noch keine Kommentare' %}</p>
</div>
{% endif %}
</div>

View File

@ -5,9 +5,9 @@
<b>{{ comment.user }}</b>
{{ comment.created_at }}
</div>
<p>
{{ comment.text | render_markdown }}
</p>
<p>
{{ comment.text | render_markdown }}
</p>
</div>