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> |   <h3>Zadání</h3> | ||||||
|   {{ problem.text_zadani |safe }} |   {{ 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 user.is_authenticated %} | ||||||
| 
 |  | ||||||
|   {% if True %} |  | ||||||
|   <div class='mam-org-only'> |   <div class='mam-org-only'> | ||||||
| 
 | 
 | ||||||
|     <h3>Text - org</h3> |     <h3>Text - org</h3> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue