Add partial templates for rendering issue comments and Kanban cards. Details: - New Features - Add `comment_list.html` to display comment author, timestamp, and body. - Add `kanban/card.html` for draggable Kanban card UI with edit link and due date.
9 lines
360 B
HTML
9 lines
360 B
HTML
{% for comment in comments %}
|
|
<div class="border-b border-base-300 py-2">
|
|
<p class="text-sm"><strong>{{ comment.author.username }}</strong> <span class="text-xs opacity-50">{{ comment.created_at|timesince }} ago</span></p>
|
|
<p>{{ comment.body }}</p>
|
|
</div>
|
|
{% empty %}
|
|
<p class="text-sm opacity-50">No comments yet.</p>
|
|
{% endfor %}
|