tituly | oprava tak, aby lidi bez titulu nemeli MM
This commit is contained in:
		
							parent
							
								
									f091dfb054
								
							
						
					
					
						commit
						6350f40e31
					
				
					 1 changed files with 9 additions and 3 deletions
				
			
		|  | @ -7,8 +7,14 @@ | ||||||
| {% load tex %} | {% load tex %} | ||||||
| 
 | 
 | ||||||
| {% for r in resitele %} | {% for r in resitele %} | ||||||
| 	{% spaceless %} |   {% if r.titul == '' %} | ||||||
| \def\{{r.ascii}}{\titul{{r.titul|sloz}}\relax} |   	{% spaceless %} | ||||||
| 	{% endspaceless %} |     \def\{{r.ascii}}{} | ||||||
|  | 	  {% endspaceless %} | ||||||
|  |   {% else %} | ||||||
|  |   	{% spaceless %} | ||||||
|  |     \def\{{r.ascii}}{\titul{{r.titul|sloz}}\relax} | ||||||
|  |   	{% endspaceless %} | ||||||
|  |   {% endif %} | ||||||
| {% endfor %} | {% endfor %} | ||||||
| {% endautoescape %} | {% endautoescape %} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha