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

Loading…
Cancel
Save