|
@ -17,7 +17,7 @@ |
|
|
{% for p in v_cisle_zadane %} |
|
|
{% for p in v_cisle_zadane %} |
|
|
<li{% if user.je_org and not cislo.verejne %} class='mam-org-only'{% endif %}> |
|
|
<li{% if user.je_org and not cislo.verejne %} class='mam-org-only'{% endif %}> |
|
|
{% if user.je_org or cislo.verejne %} |
|
|
{% if user.je_org or cislo.verejne %} |
|
|
<a href='{{ p.verejne_url }}'>{% endif %}{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}{% if user.je_org or cislo.verejne %}</a>{% endif %} |
|
|
{# <a href='{{ p.verejne_url }}'> #}{% endif %}{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}{% if user.je_org or cislo.verejne %}{# </a> #}{% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</ul> |
|
|
</ul> |
|
|
{% endif %} |
|
|
{% endif %} |
|
@ -28,7 +28,7 @@ |
|
|
{% for p in resene_problemy %} |
|
|
{% for p in resene_problemy %} |
|
|
<li{% if user.je_org and not cislo.verejne %} class='mam-org-only'{% endif %}> |
|
|
<li{% if user.je_org and not cislo.verejne %} class='mam-org-only'{% endif %}> |
|
|
{% if user.je_org or cislo.verejne %} |
|
|
{% if user.je_org or cislo.verejne %} |
|
|
<a href='{{ p.verejne_url }}'>{% endif %}{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}{% if user.je_org or cislo.verejne %}</a>{% endif %} |
|
|
{# <a href='{{ p.verejne_url }}'> #}{% endif %}{{ p.kod_v_rocniku }} {{ p.nazev }} {{ p.body_v_zavorce }}{% if user.je_org or cislo.verejne %}{# </a> #}{% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</ul> |
|
|
</ul> |
|
|
{% endif %} |
|
|
{% endif %} |
|
@ -84,11 +84,11 @@ |
|
|
<th class='border-r'># |
|
|
<th class='border-r'># |
|
|
<th class='border-r'>Jméno |
|
|
<th class='border-r'>Jméno |
|
|
{% for p in problemy %} |
|
|
{% for p in problemy %} |
|
|
<th class='border-r' id="problem{{ forloop.counter }}"><a href="{{ p.verejne_url }}">{{ p.kod_v_rocniku }}</a> |
|
|
<th class='border-r' id="problem{{ forloop.counter }}">{# <a href="{{ p.verejne_url }}"> #}{{ p.kod_v_rocniku }}{# </a> #} |
|
|
|
|
|
|
|
|
{# TODELETE #} |
|
|
{# TODELETE #} |
|
|
{% for podproblemy in podproblemy_iter.next %} |
|
|
{% for podproblemy in podproblemy_iter.next %} |
|
|
<th class='border-r podproblem{{ forloop.parentloop.counter }} podproblem'><a href="{{ podproblemy.verejne_url }}">{{ podproblemy.kod_v_rocniku }}</a> |
|
|
<th class='border-r podproblem{{ forloop.parentloop.counter }} podproblem'>{# <a href="{{ podproblemy.verejne_url }}"> #}{{ podproblemy.kod_v_rocniku }}{# </a> #} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{# TODELETE #} |
|
|
{# TODELETE #} |
|
|
|
|
|
|
|
@ -97,7 +97,7 @@ |
|
|
|
|
|
|
|
|
{# TODELETE #} |
|
|
{# TODELETE #} |
|
|
{% for podproblemy in podproblemy_iter.next %} |
|
|
{% for podproblemy in podproblemy_iter.next %} |
|
|
<th class='border-r podproblem{{ problemy.len }} podproblem'><a href="{{ podproblemy.verejne_url }}">{{ podproblemy.kod_v_rocniku }}</a> |
|
|
<th class='border-r podproblem{{ problemy.len }} podproblem'>{# <a href="{{ podproblemy.verejne_url }}"> #}{{ podproblemy.kod_v_rocniku }}{# </a> #} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{# TODELETE #} |
|
|
{# TODELETE #} |
|
|
|
|
|
|
|
|