Pavel "LEdoian" Turinsky
4 years ago
1 changed files with 25 additions and 0 deletions
@ -0,0 +1,25 @@ |
|||
{% extends "base.html" %} |
|||
{% load static %} |
|||
{% load deadliny %} |
|||
|
|||
{% block content %} |
|||
{% for rocnik, hodnoceni in podle_rocniku %} |
|||
<h1>Ročník {{ rocnik }}</h1> |
|||
<table> |
|||
<tr> |
|||
<th>Doručeno</th> |
|||
<th>Problém</th> |
|||
<th>Body</th> |
|||
<th>Deadline</th> |
|||
</tr> |
|||
{% for hodn in hodnoceni %} |
|||
<tr> |
|||
<td>{{ hodn.reseni.cas_doruceni }}</td> |
|||
<td>{{ hodn.problem }}</td> |
|||
<td>{{ hodn.body|default_if_none:"---" }}</td> |
|||
<td>{{ hodn.reseni.cas_doruceni | deadline_html }}</td> |
|||
</tr> |
|||
{% endfor %} |
|||
</table> |
|||
{% endfor %} |
|||
{% endblock %} |
Loading…
Reference in new issue