Odkazy na pdf čísla
This commit is contained in:
		
							parent
							
								
									52fc4cd1ea
								
							
						
					
					
						commit
						1f7e9b4901
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -8,6 +8,9 @@ | ||||||
|     {% endblock %}{% endblock %} |     {% endblock %}{% endblock %} | ||||||
|   </h2> |   </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> |   <p><a href='{{ cislo.rocnik.verejne_url }}'>Ročník {{ cislo.rocnik }}</a> | ||||||
| 
 | 
 | ||||||
|   <h3>Zadané problémy</h3> |   <h3>Zadané problémy</h3> | ||||||
|  |  | ||||||
|  | @ -13,6 +13,9 @@ | ||||||
|   <ul> |   <ul> | ||||||
|   {% for c in rocnik.verejna_cisla %} |   {% for c in rocnik.verejna_cisla %} | ||||||
|   <li><a href="{{ c.verejne_url }}">Číslo {{ c.kod }}</a> |   <li><a href="{{ c.verejne_url }}">Číslo {{ c.kod }}</a> | ||||||
|  |       {% if c.pdf %} | ||||||
|  |         (<a href='{{ c.pdf.url }}'>pdf</a>) | ||||||
|  |       {% endif %} | ||||||
|   {% endfor %} |   {% endfor %} | ||||||
|   </ul> |   </ul> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián