Nezobrazovat reseni kdyz neni a orgotext.
This commit is contained in:
		
							parent
							
								
									b4405d031e
								
							
						
					
					
						commit
						326d50a42f
					
				
					 1 changed files with 6 additions and 4 deletions
				
			
		|  | @ -22,11 +22,13 @@ | |||
| 
 | ||||
|   <h3>Zadání</h3> | ||||
|   {{ problem.text_zadani |safe }} | ||||
|   {% if problem.text_reseni %} | ||||
|     <h3>Řešení</h3> | ||||
|     {{ problem.text_reseni |safe }} | ||||
|   {% endif %} | ||||
| 
 | ||||
|   <h3>Řešení</h3> | ||||
|   {{ problem.text_reseni |safe }} | ||||
| 
 | ||||
|   {% if True %} | ||||
|    | ||||
|   {% if user.is_authenticated %} | ||||
|   <div class='mam-org-only'> | ||||
| 
 | ||||
|     <h3>Text - org</h3> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue