Odstraneni horniho pruhu pro neprihlasene
Po prihlaseni se pruh objevuje. Je potreba zobrazovat jen pro prihlasene organizatory.
This commit is contained in:
		
							parent
							
								
									1118a5b42f
								
							
						
					
					
						commit
						e9364682e9
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -17,8 +17,9 @@ | |||
|     <script type="text/javascript" src="{{ STATIC_URL }}fluent_comments/js/ajaxcomments.js"></script> | ||||
| 
 | ||||
|   </head> | ||||
|   <body class='{% if True %}org-logged-in{% endif %}'> | ||||
|     <!-- TODO: only on org login --> | ||||
|   <body class='{% if user.is_authenticated %}org-logged-in{% endif %}'> | ||||
|   {# TODO predelat pro pouze pro orgy (misto pro prihlasene) #} | ||||
|   {% if user.is_authenticated %}  | ||||
|     <div class="login-bar" style='background: #F80;'> | ||||
|       {% if view.object %} | ||||
| 	Objekt {{ view.object }}: {{ view.object }} | ||||
|  | @ -29,6 +30,8 @@ | |||
| 	<a href='{% url 'admin:flatpages_flatpage_change' flatpage.id %}'>[admin]</a> | ||||
|       {% endif %} | ||||
|     </div> | ||||
|   {% endif %} | ||||
| 
 | ||||
|     <div class="container"> | ||||
| 	  <div class='row'> | ||||
| 		<div class='col-md-12'> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha