Browse Source

Odstraneni horniho pruhu pro neprihlasene

Po prihlaseni se pruh objevuje.
Je potreba zobrazovat jen pro prihlasene organizatory.
remotes/origin/vysl
Bc. Petr Pecha 9 years ago
parent
commit
e9364682e9
  1. 7
      mamweb/templates/base.html

7
mamweb/templates/base.html

@ -17,8 +17,9 @@
<script type="text/javascript" src="{{ STATIC_URL }}fluent_comments/js/ajaxcomments.js"></script> <script type="text/javascript" src="{{ STATIC_URL }}fluent_comments/js/ajaxcomments.js"></script>
</head> </head>
<body class='{% if True %}org-logged-in{% endif %}'> <body class='{% if user.is_authenticated %}org-logged-in{% endif %}'>
<!-- TODO: only on org login --> {# TODO predelat pro pouze pro orgy (misto pro prihlasene) #}
{% if user.is_authenticated %}
<div class="login-bar" style='background: #F80;'> <div class="login-bar" style='background: #F80;'>
{% if view.object %} {% if view.object %}
Objekt {{ view.object }}: {{ view.object }} Objekt {{ view.object }}: {{ view.object }}
@ -29,6 +30,8 @@
<a href='{% url 'admin:flatpages_flatpage_change' flatpage.id %}'>[admin]</a> <a href='{% url 'admin:flatpages_flatpage_change' flatpage.id %}'>[admin]</a>
{% endif %} {% endif %}
</div> </div>
{% endif %}
<div class="container"> <div class="container">
<div class='row'> <div class='row'>
<div class='col-md-12'> <div class='col-md-12'>

Loading…
Cancel
Save