Bc. Petr Pecha
9 years ago
11 changed files with 91 additions and 66 deletions
@ -0,0 +1,18 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('korektury', '0008_auto_20151229_1556'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterModelOptions( |
|||
name='korekturovanepdf', |
|||
options={'ordering': ['-cas'], 'verbose_name': 'PDF k oprav\xe1m', 'verbose_name_plural': 'PDF k oprav\xe1m'}, |
|||
), |
|||
] |
@ -0,0 +1,33 @@ |
|||
{% extends "seminar/archiv/base.html" %} |
|||
|
|||
{% block content %} |
|||
<h1> |
|||
{% block nadpis1a %}{% block nadpis1b %} |
|||
Obálkování {{ cislo }} |
|||
{% endblock %}{% endblock %} |
|||
</h1> |
|||
|
|||
Obálkovat se budou tyto problémy: |
|||
<ul> |
|||
{% for p in problemy %} |
|||
|
|||
<li> {{ p.kod_v_rocniku }} {{ p }} |
|||
{% endfor %} |
|||
</ul> |
|||
|
|||
{% for r in reseni %} |
|||
{% ifchanged r.resitel %} |
|||
{% if not forloop.first %} |
|||
</ul> |
|||
{% endif %} |
|||
<h4>{{ r.resitel }}</h4> |
|||
<ul> |
|||
{% endifchanged %} |
|||
|
|||
<li> |
|||
{{ r.problem.kod_v_rocniku }} {{ r.problem.nazev }} ({{ r.body }}) |
|||
|
|||
{% endfor %} |
|||
</ul> |
|||
|
|||
{% endblock content %} |
@ -1,22 +0,0 @@ |
|||
|
|||
{% extends "seminar/archiv/base.html" %} |
|||
|
|||
{% block content %} |
|||
<h1> K obálkování </h1> |
|||
<table> |
|||
<th> |
|||
<td>Jméno</td> |
|||
{% for u in ulohy %} |
|||
<td>{{u.nazev}} |
|||
{% endfor %} |
|||
</th> |
|||
{% for row in kdoco %} |
|||
<tr> |
|||
{% for cell in row%} |
|||
<td>{{cell}}</td> |
|||
{% endfor %} |
|||
</tr> |
|||
{% endfor %} |
|||
</table> |
|||
{% endblock content %} |
|||
|
Loading…
Reference in new issue