[collector view] rudimentary implementation of list and detail view

This commit is contained in:
bronsen 2025-03-12 23:52:18 +01:00
parent d6ff246804
commit 6214610edc
4 changed files with 36 additions and 3 deletions

View file

@ -0,0 +1,2 @@
<h1>{{ teil.name }}</h1>
Last Changed: {{ teil.modified }}

View file

@ -0,0 +1,17 @@
{% if teile_list %}
<ul>
{% for teil in teile_list %}
<li>
<a href="{% url 'collector:detail' teil.id %}">
{{ teil.name }}
</a> ({{ teil.modified }})
</li>
{% endfor %}
</ul>
{% else %}
<p>Keine Teile da.</p>
{% endif %}