Merge remote-tracking branch 'origin/data_migrations' into data_migrations

This commit is contained in:
Jonas Havelka 2021-03-02 22:15:13 +01:00
commit 1254135ef1

View file

@ -19,18 +19,15 @@
{% if clanek.cislo.pdf %}
<a href="{{ clanek.cislo.pdf.url }}">
{{ clanek.nazev }}
({% for r in clanek.reseni_set.first.resitele.all %}
{{r}}
{% if not forloop.last %},{% endif %}
{% endfor %}
({% for r in clanek.reseni_set.first.resitele.all %}{{r}}{% if not forloop.last %}, {% endif %}{% endfor %})
</a>
)
{% else %}
{{ clanek.nazev }}
({% for r in clanek.reseni_set.first.resitele.all %}
{% for r in clanek.reseni_set.first.resitele.all %}
{{r}},
{% endfor %}
vyšlo v čísle {{clanek.cislo}})
(vyšlo v čísle {{clanek.cislo}})
{% endif %}
</li>
{% endwith %}