Tady bylo „.cislo“ navíc…

This commit is contained in:
Jonas Havelka 2024-06-20 14:38:27 +02:00
parent 6225630f9f
commit 1ce9cb445f

View file

@ -17,7 +17,7 @@
{% endifchanged %}
<li>
{% if clanek.cislo.pdf %}
<a href="{{clanek.cislo.pdf.url}}{% if clanek.strana %}#page={{ clanek.cislo.strana }}{% endif %}">
<a href="{{clanek.cislo.pdf.url}}{% if clanek.strana %}#page={{ clanek.strana }}{% endif %}">
{{ clanek.nazev }}
({% for r in clanek.reseni_set.first.resitele.all %}{{r}}{% if not forloop.last %}, {% endif %}{% endfor %})
</a>