Odstraneni horniho pruhu pro neprihlasene

Po prihlaseni se pruh objevuje.
Je potreba zobrazovat jen pro prihlasene organizatory.
This commit is contained in:
Bc. Petr Pecha 2015-09-02 21:20:27 +02:00
parent 1118a5b42f
commit e9364682e9

View file

@ -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'>