mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Do not show login and register on these pages
This commit is contained in:
parent
51230e029d
commit
e03a3f7fd2
@ -22,7 +22,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
<meta name="msapplication-TileColor" content="#da532c">
|
<meta name="msapplication-TileColor" content="#da532c">
|
||||||
<meta name="msapplication-config" content="{% static "favicon/browserconfig.xml" %}">
|
<meta name="msapplication-config" content="{% static "favicon/browserconfig.xml" %}">
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
{# Bootstrap CSS #}
|
|
||||||
|
{# Bootstrap, Font Awesome and custom CSS #}
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
|
||||||
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
|
||||||
@ -128,16 +129,20 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li class="nav-item active">
|
{% if request.path != "/registration/signup/" %}
|
||||||
<a class="nav-link" href="{% url 'registration:signup' %}">
|
<li class="nav-item">
|
||||||
<i class="fas fa-user-plus"></i> S'inscrire
|
<a class="nav-link" href="{% url 'registration:signup' %}">
|
||||||
</a>
|
<i class="fas fa-user-plus"></i> S'inscrire
|
||||||
</li>
|
</a>
|
||||||
<li class="nav-item active">
|
</li>
|
||||||
<a class="nav-link" href="{% url 'login' %}">
|
{% endif %}
|
||||||
<i class="fas fa-sign-in-alt"></i> Se connecter
|
{% if request.path != "/accounts/login/" %}
|
||||||
</a>
|
<li class="nav-item">
|
||||||
</li>
|
<a class="nav-link" href="{% url 'login' %}">
|
||||||
|
<i class="fas fa-sign-in-alt"></i> Se connecter
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user