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" %} {% include "fellchensammlung/partials/partial-comment.html" %}
{% endfor %} {% endfor %}
{% else %} {% else %}
{% translate 'Noch keine Kommentare' %} <div class="card">
<p>{% translate 'Noch keine Kommentare' %}</p>
</div>
{% endif %} {% endif %}
</div> </div>

View File

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