Odkazy na pdf čísla

This commit is contained in:
Matěj Kocián 2015-09-12 13:51:53 +02:00
parent 52fc4cd1ea
commit 1f7e9b4901
2 changed files with 6 additions and 0 deletions

View file

@ -8,6 +8,9 @@
{% endblock %}{% endblock %}
</h2>
{% if cislo.pdf %}
<p><a href='{{ cislo.pdf.url }}'>Číslo v pdf</a>
{% endif %}
<p><a href='{{ cislo.rocnik.verejne_url }}'>Ročník {{ cislo.rocnik }}</a>
<h3>Zadané problémy</h3>

View file

@ -13,6 +13,9 @@
<ul>
{% for c in rocnik.verejna_cisla %}
<li><a href="{{ c.verejne_url }}">Číslo {{ c.kod }}</a>
{% if c.pdf %}
(<a href='{{ c.pdf.url }}'>pdf</a>)
{% endif %}
{% endfor %}
</ul>