mirror of https://git.48k.eu/ogcp
Don't show sidebar in login view
Commit 22dcea19
introduced sidebar, which is not shown in
index view. Disable sidebar in the login view too.
multi-ogserver
parent
3667db8662
commit
f8e27fb149
|
@ -20,8 +20,8 @@
|
|||
<div class="container-fluid flex-grow-1">
|
||||
{% block container %}
|
||||
<div class="row h-100">
|
||||
{# The sidebar is not visible on index #}
|
||||
{% if request.endpoint != "index" %}
|
||||
{# The sidebar is not visible on index and login #}
|
||||
{% if request.endpoint not in ["index", "login"] %}
|
||||
<div id="sidebar" class="bg-light col-md-3 col-lg-2">
|
||||
{% block sidebar %}{% endblock %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue