Pavel "LEdoian" Turinsky
4 years ago
2 changed files with 13 additions and 3 deletions
@ -1,11 +1,15 @@ |
|||||
{% extends "base.html" %} |
{% extends "base.html" %} |
||||
|
{% load deadliny %} |
||||
|
|
||||
{% block content %} |
{% block content %} |
||||
|
|
||||
|
{% for dl, mnozina_reseni in reseni_podle_deadlinu.items %} |
||||
|
<h1>{{ dl.2 | deadline_html }}</h1> |
||||
<ul> |
<ul> |
||||
{% for obj in object_list %} |
{% for obj in mnozina_reseni %} |
||||
<li><a href="{% url 'odevzdavatko_detail_reseni' pk=obj.id %}">{{ obj }}</a> ({{ obj.get_forma_display }} {{ obj.cas_doruceni }}) |
<li><a href="{% url 'odevzdavatko_detail_reseni' pk=obj.id %}">{{ obj }}</a> ({{ obj.get_forma_display }} {{ obj.cas_doruceni }}) |
||||
{% endfor %} |
{% endfor %} |
||||
</ul> |
</ul> |
||||
|
{% endfor %} |
||||
|
|
||||
{% endblock %} |
{% endblock %} |
||||
|
Loading…
Reference in new issue