Template pro přehled poslaných řešení
This commit is contained in:
parent
36c8acbbd6
commit
757d3189e7
1 changed files with 25 additions and 0 deletions
25
seminar/templates/seminar/odevzdavatko/resitel_prehled.html
Normal file
25
seminar/templates/seminar/odevzdavatko/resitel_prehled.html
Normal file
|
@ -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 a new issue