Test for user system and comments

This commit is contained in:
Alphonse Paix
2025-10-06 02:08:26 +02:00
parent d96a29ee73
commit 04c2d2b7f5
12 changed files with 501 additions and 29 deletions

View File

@@ -16,7 +16,7 @@
</div>
</div>
</div>
<div id="comments-list" class="space-y-6">
<div id="comments-list">
{% block comments %}
{% if comments.is_empty() %}
<div class="p-8 text-center">
@@ -29,11 +29,11 @@
d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"/>
</svg>
</div>
<h3 class="text-lg font-medium text-gray-900 mb-2">No data to display</h3>
<p class="text-gray-600">The request did not return any data.</p>
<h3 class="text-lg font-medium text-gray-900 mb-2">No comments to display</h3>
<p class="text-gray-600">Content may have shifted due to recent updates or list is empty.</p>
</div>
{% else %}
<div class="divide-y divide-gray-200">
<div class="divide-y divide-gray-200 mb-6">
{% for comment in comments %}
{% include "dashboard/comments/card.html" %}
{% endfor %}