Browse Source

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

export_seznamu_prednasek
Jonas Havelka 4 years ago
parent
commit
1254135ef1
  1. 11
      seminar/templates/seminar/clanky/resitelske_clanky.html

11
seminar/templates/seminar/clanky/resitelske_clanky.html

@ -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…
Cancel
Save