Merge remote-tracking branch 'origin/data_migrations' into data_migrations
This commit is contained in:
commit
1254135ef1
1 changed files with 4 additions and 7 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue