Merge branch 'data_migrations' of gimli.ms.mff.cuni.cz:/akce/mam/git/mamweb into data_migrations
This commit is contained in:
commit
186afb7447
1 changed files with 13 additions and 2 deletions
|
@ -17,9 +17,20 @@
|
|||
{% endifchanged %}
|
||||
<li>
|
||||
{% if clanek.cislo.pdf %}
|
||||
<a href="{{ clanek.cislo.pdf.url }}">{{ clanek.nazev }}</a>
|
||||
<a href="{{ clanek.cislo.pdf.url }}">
|
||||
{{ clanek.nazev }}
|
||||
({% for r in clanek.reseni_set.first.resitele.all %}
|
||||
{{r}}
|
||||
{% if not forloop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
</a>
|
||||
)
|
||||
{% else %}
|
||||
{{ clanek.nazev }} (vyšlo v čísle {{clanek.cislo}})
|
||||
{{ clanek.nazev }}
|
||||
({% for r in clanek.reseni_set.first.resitele.all %}
|
||||
{{r}},
|
||||
{% endfor %}
|
||||
vyšlo v čísle {{clanek.cislo}})
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endwith %}
|
||||
|
|
Loading…
Reference in a new issue