Tomas "Jethro" Pokorny
5 years ago
3 changed files with 74 additions and 3 deletions
@ -0,0 +1,30 @@ |
|||
{% extends "base.html" %} |
|||
|
|||
{% block content %} |
|||
<h1> |
|||
{% block nadpis1a %}{% block nadpis1b %} |
|||
Obálkování {{ cislo }} |
|||
{% endblock %}{% endblock %} |
|||
</h1> |
|||
<ul> |
|||
{% for reseni in object_list %} |
|||
{% ifchanged reseni.resitele %} |
|||
{% if not forloop.first %} |
|||
</ul> |
|||
{% endif %} |
|||
<h4>{% for resitel in reseni.resitele.all %}{{resitel.osoba}},{% endfor %}</h4> |
|||
<ul> |
|||
{% endifchanged %} |
|||
|
|||
<li>Celkem {{reseni.hodnoceni__body__sum}} bodů z {{reseni.hodnoceni__count}} hodnocení |
|||
<ul> |
|||
{% for h in reseni.hodnoceni_set.all %} |
|||
<li> {{ h.problem }}: {{ h.body }}b </li> |
|||
{% endfor %} |
|||
</ul> |
|||
</li> |
|||
{% endfor %} |
|||
</ul> |
|||
|
|||
|
|||
{% endblock content %} |
Loading…
Reference in new issue