After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 400 KiB After Width: | Height: | Size: 400 KiB |
After Width: | Height: | Size: 519 KiB |
After Width: | Height: | Size: 512 KiB |
After Width: | Height: | Size: 456 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.4 KiB |
@ -0,0 +1,38 @@ |
|||
{% extends "seminar/archiv/problem.html" %} |
|||
|
|||
{% block problem %} |
|||
{% if problem.cislo_zadani %} |
|||
|
|||
<h2> |
|||
{{ problem.nazev_typu }}: |
|||
{% block nadpis1a %}{% block nadpis1b %} |
|||
{{ problem.nazev }} |
|||
{% endblock %}{% endblock %} |
|||
</h2> |
|||
|
|||
<div class='problem-autori'> |
|||
{% if problem.typ == 'res-clanek' %} |
|||
{# pozor na mezery #} |
|||
{% for r in reseni %}{% if not forloop.first %}, {% endif %} |
|||
{{ r.resitel.jmeno }} {{ r.resitel.prijmeni }}{% if r.body %} ({{ r.body }} b){% endif %}{% endfor %} |
|||
{% else %} |
|||
{{ problem.autor.first_name }} |
|||
{% if problem.autor.organizator.prezdivka %} |
|||
„{{ problem.autor.organizator.prezdivka }}“ |
|||
{% endif %} |
|||
{{ problem.autor.last_name }} |
|||
{% endif %} |
|||
</div> |
|||
|
|||
{% if problem.cislo_reseni %} |
|||
<p>Vyšlo v čísle <a href='{{ problem.cislo_reseni.verejne_url }}'>{{ problem.cislo_reseni.kod }}</a>. |
|||
{% endif %} |
|||
|
|||
{% else %} |
|||
{# TODO ? #} |
|||
<h2>Problém {{ problem.nazev }}</h2> |
|||
{% endif %} |
|||
|
|||
{{ problem.text_zadani |safe }} |
|||
|
|||
{% endblock %} |
@ -0,0 +1,27 @@ |
|||
{% extends "seminar/archiv/problem.html" %} |
|||
|
|||
{% block problem %} |
|||
<h2> |
|||
{% block nadpis1a %}{% block nadpis1b %} |
|||
{{ problem.nazev_typu }} {{ problem.kod_v_rocniku }}: {{ problem.nazev }} {{ problem.body_v_zavorce }} |
|||
{% endblock %}{% endblock %} |
|||
</h2> |
|||
{% if problem.cislo_zadani %} |
|||
<p>Zadáno v čísle <a href='{{ problem.cislo_zadani.verejne_url }}'>{{ problem.cislo_zadani.kod }}</a>. |
|||
{% if problem.cislo_reseni %} |
|||
<p>Řešeno v čísle <a href='{{ problem.cislo_reseni.verejne_url }}'>{{ problem.cislo_reseni.kod }}</a>. |
|||
{% endif %} |
|||
{% else %} |
|||
{# TODO ? #} |
|||
<h2>Problém {{ problem.nazev }}</h2> |
|||
{% endif %} |
|||
|
|||
|
|||
<h3>Zadání</h3> |
|||
{{ problem.text_zadani |safe }} |
|||
{% if problem.text_reseni %} |
|||
<h3>Řešení</h3> |
|||
{{ problem.text_reseni |safe }} |
|||
{% endif %} |
|||
|
|||
{% endblock %} |
@ -0,0 +1,5 @@ |
|||
{% extends 'seminar/clanky/resitelske_clanky.html' %} |
|||
|
|||
{% block nadpis1a %}{% block nadpis1b %} |
|||
Organizátorské články |
|||
{% endblock %}{% endblock %} |
@ -0,0 +1,24 @@ |
|||
{% extends 'base.html' %} |
|||
|
|||
{% block content %} |
|||
|
|||
<h2> |
|||
{% block nadpis1a %}{% block nadpis1b %} |
|||
Řešitelské články |
|||
{% endblock %}{% endblock %} |
|||
</h2> |
|||
|
|||
{% for clanek in object_list %} |
|||
{% with clanek.cislo_zadani.rocnik.rocnik as rocnik %} |
|||
{% ifchanged rocnik %} |
|||
{% if not forloop.first %}</ul>{% endif %} |
|||
<h3>{{ rocnik }}. ročník</h3> |
|||
<ul> |
|||
{% endifchanged %} |
|||
<li> |
|||
<a href="{{ clanek.verejne_url }}">{{ clanek.nazev }}</a> |
|||
{% endwith %} |
|||
{% endfor %} |
|||
</ul> |
|||
|
|||
{% endblock %} |