Kotvy na zamereni

This commit is contained in:
Matej Lieskovsky 2015-09-13 20:37:36 +02:00
parent 451cafc4a1
commit 4c39b69e29

View file

@ -30,8 +30,8 @@
{% if not sada %}-->{% endif %} {% if not sada %}-->{% endif %}
{# publikace jednotlivych zadani #} {# publikace jednotlivych zadani #}
{% for problem in sada %} {% for problem in sada %}
{% for tag in problem.zamereni %} {% for tag in problem.zamereni.names %}
<a name="{{tag.slug}}"></a> <a name="zam_{{tag}}"></a>
{% endfor %} {% endfor %}
{# TODO použít {{problem.kod_v_rocniku}} ? vrací 4.u1 místo 4.1 #} {# TODO použít {{problem.kod_v_rocniku}} ? vrací 4.u1 místo 4.1 #}
<h4>{{problem.cislo_zadani.cislo}}.{{problem.kod}} {{problem.nazev}} {{ problem.body_v_zavorce }}</h4> <h4>{{problem.cislo_zadani.cislo}}.{{problem.kod}} {{problem.nazev}} {{ problem.body_v_zavorce }}</h4>