mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
remove nav before login
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
{# {% set is_about_page = request.path.startswith('/about') %}
|
|
||||||
{% set is_contact_page = request.path.startswith('/contact') %}
|
|
||||||
{% set is_information_section = is_about_page or is_contact_page %}
|
|
||||||
|
|
||||||
{% if current_user.is_authenticated %}
|
{% if current_user.is_authenticated %}
|
||||||
{% set navigation = [
|
{% set navigation = [
|
||||||
{"href": url_for("main.show_accounts_or_dashboard"), "text": "Current service", "active": request.path.startswith('/accounts')},
|
{"href": url_for("main.show_accounts_or_dashboard"), "text": "Current service", "active": request.path.startswith('/accounts')},
|
||||||
@@ -30,13 +26,7 @@
|
|||||||
{% set secondaryNavigation = [{"href": url_for('main.sign_out'), "text": "Sign out"}] %}
|
{% set secondaryNavigation = [{"href": url_for('main.sign_out'), "text": "Sign out"}] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% else %}
|
{% endif %}
|
||||||
{% set navigation = [
|
|
||||||
{"href": url_for('main.about_notify'), "text": "About Notify", "active": is_about_page},
|
|
||||||
{"href": url_for('main.contact'), "text": "Contact us", "active": is_contact_page}
|
|
||||||
] %}
|
|
||||||
{% endif %} #}
|
|
||||||
|
|
||||||
<header class="usa-header usa-header--extended">
|
<header class="usa-header usa-header--extended">
|
||||||
<div class="usa-nav-container">
|
<div class="usa-nav-container">
|
||||||
<div class="usa-navbar">
|
<div class="usa-navbar">
|
||||||
|
|||||||
@@ -25,9 +25,11 @@
|
|||||||
We signed you out because you have not used Notify for a while.
|
We signed you out because you have not used Notify for a while.
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<a class="usa-link usa-button" href="{{ initial_signin_url }}">Sign in with Login.gov</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h1 class="font-body-2xl margin-bottom-3">Sign in</h1>
|
<h1 class="font-body-2xl margin-bottom-3">Sign in</h1>
|
||||||
<p>Access your Notify.gov account by signing in with Login.gov:</p>
|
<p>Access your Notify.gov account by signing in with Login.gov:</p>
|
||||||
|
<a class="usa-link usa-button" href="{{ initial_signin_url }}">Sign in with Login.gov</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user