Updating conditional logic

This commit is contained in:
Jonathan Bobel
2024-03-12 13:37:44 -04:00
parent 0ae369d54b
commit 429a456704

View File

@@ -12,6 +12,7 @@
{% block maincolumn_content %} {% block maincolumn_content %}
{% if login_gov_enabled %}
<div class="grid-row"> <div class="grid-row">
<div id="countdown-container" class="usa-alert usa-alert--warning width-full margin-bottom-4"> <div id="countdown-container" class="usa-alert usa-alert--warning width-full margin-bottom-4">
<div class="usa-alert__body"> <div class="usa-alert__body">
@@ -22,6 +23,7 @@
</div> </div>
</div> </div>
</div> </div>
{% endif %}
<div class="grid-row margin-bottom-4"> <div class="grid-row margin-bottom-4">
<div class="tablet:grid-col-5"> <div class="tablet:grid-col-5">
{% if again %} {% if again %}
@@ -50,22 +52,24 @@
{{ page_footer("Continue", secondary_link=password_reset_url, secondary_link_text="Forgot your password?") }} {{ page_footer("Continue", secondary_link=password_reset_url, secondary_link_text="Forgot your password?") }}
{% endcall %} {% endcall %}
</div> </div>
<div class="tablet:grid-col-6 tablet:grid-offset-1 margin-top-2 padding-y-2 padding-x-4 bg-base-lightest"> {% if login_gov_enabled %}
<h2 class="font-body-lg">Notify.gov is changing the sign-in experience to Login.gov effective<br>April 16, 2024</h2> <div class="tablet:grid-col-6 tablet:grid-offset-1 margin-top-2 padding-y-2 padding-x-4 bg-base-lightest">
<p>Why are we doing this?</p> <h2 class="font-body-lg">Notify.gov is changing the sign-in experience to Login.gov effective<br>April 16, 2024</h2>
<ul class="usa-list"> <p>Why are we doing this?</p>
<li><strong>Enhanced security:</strong> Login.gov is really secure and trustworthy</li> <ul class="usa-list">
<li><strong>One single source for signing in:</strong> You can use Login.gov for other services within the federal government</li> <li><strong>Enhanced security:</strong> Login.gov is really secure and trustworthy</li>
<li><strong>2FA flexibility:</strong> Login.gov supports multiple methods for users to verify their identity.</li> <li><strong>One single source for signing in:</strong> You can use Login.gov for other services within the federal government</li>
</ul> <li><strong>2FA flexibility:</strong> Login.gov supports multiple methods for users to verify their identity.</li>
<p>What do I need to do?</p> </ul>
<ul class="usa-list"> <p>What do I need to do?</p>
<li>If you have a Login.gov account, start using it to sign in to Notify today.</li> <ul class="usa-list">
<li>If you dont have a Login.gov account, you must create one by April 16, 2024 to continue to access Notify.</li> <li>If you have a Login.gov account, start using it to sign in to Notify today.</li>
</ul> <li>If you dont have a Login.gov account, you must create one by April 16, 2024 to continue to access Notify.</li>
<div class="border-bottom border-base-lighter margin-y-4"></div> </ul>
<a class="usa-link usa-button margin-bottom-3" href="{{ create_login_account_url }}">Create Login.gov account</a> <div class="border-bottom border-base-lighter margin-y-4"></div>
<a class="usa-link usa-button margin-bottom-3" href="{{ create_login_account_url }}">Create Login.gov account</a>
</div>
</div> </div>
</div> {% endif %}
{% endblock %} {% endblock %}