Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
669 B
30 lines
669 B
{% 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 %}
|
|
|