Oprava cyklovani nadpisu
This commit is contained in:
		
							parent
							
								
									f6c5c11a14
								
							
						
					
					
						commit
						ee46d10fe2
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -13,7 +13,11 @@ | |||
| 
 | ||||
|     <br><br> | ||||
|     {% for sada in problemy%} | ||||
|       {% if sada %}<h3>{% cycle 'Úlohy:' 'Témata:' 'Seriál:' %}</h3>{% endif %} | ||||
|       {# podnadpisy, kdyz neni zakomentuje se nadpis #} | ||||
|       {% if not sada %}<!--{% endif %} | ||||
|       <h3>{% cycle 'Úlohy' 'Témata' 'Seriál' %}</h3> | ||||
|       {% if not sada %}-->{% endif %} | ||||
|       {# publikace jednotlivych zadani #} | ||||
|       {% for problem in sada %} | ||||
|         {# TODO použít {{problem.kod_v_rocniku}} ? vrací 4.u1 místo 4.1 #} | ||||
|         <h4>{{problem.cislo_zadani.cislo}}.{{problem.kod}} {{problem.nazev}} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha