mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Put sign in in the header
This commit is contained in:
@@ -36,10 +36,10 @@
|
|||||||
{% block proposition_header %}
|
{% block proposition_header %}
|
||||||
<div class="header-proposition">
|
<div class="header-proposition">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{% if current_user.is_authenticated() %}
|
<a href="#proposition-links" class="js-header-toggle menu">Menu</a>
|
||||||
<a href="#proposition-links" class="js-header-toggle menu">Menu</a>
|
<nav id="proposition-menu">
|
||||||
<nav id="proposition-menu">
|
<ul id="proposition-links">
|
||||||
<ul id="proposition-links">
|
{% if current_user.is_authenticated() %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ url_for('main.user_profile') }}">{{ current_user.name }}</a>
|
<a href="{{ url_for('main.user_profile') }}">{{ current_user.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -49,9 +49,13 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="{{ url_for('main.sign_out')}}">Sign out</a>
|
<a href="{{ url_for('main.sign_out')}}">Sign out</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
{% else %}
|
||||||
</nav>
|
<li>
|
||||||
{% endif %}
|
<a href="{{ url_for('main.sign_in' )}}">Sign in to your account</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user