mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Added in bar containing service name, user name/link to profile and sign out
This commit is contained in:
committed by
Chris Hill-Scott
parent
6d12953cce
commit
884e4e8057
@@ -31,13 +31,6 @@
|
||||
<div class="phase-banner-beta">
|
||||
<strong class="phase-tag">BETA</strong>
|
||||
</div>
|
||||
{% if current_user.is_authenticated() %}
|
||||
<nav id='proposition-menu'>
|
||||
<p id='proposition-link'>
|
||||
<a href="{{ url_for('main.sign_out')}}">Sign out</a>
|
||||
</p>
|
||||
</nav>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -53,6 +46,9 @@
|
||||
{% endif %}
|
||||
|
||||
{% block content %}
|
||||
{% if current_user.is_authenticated() %}
|
||||
<nav id="user-bar"><span id="service-switcher">Service name</span> <div id="user-admin"><span id="user-name"><a href="{{ url_for('.userprofile') }}">User name</a></span> <span id="sign-out"><a href="{{ url_for('main.sign_out')}}">Sign out</a></span></div></nav>
|
||||
{% endif %}
|
||||
<main id="content" role="main" class="page-container">
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
|
||||
Reference in New Issue
Block a user