Skip to content

Commit

Permalink
refactor(templates): move log out button into nav-buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Dec 11, 2024
1 parent 59638e3 commit 55a5f2b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion benefits/eligibility/templates/eligibility/unverified.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
{% translate "Unable to confirm eligibility" %}
{% endblock page-title %}

{% block inner-content %}
{% block nav-buttons %}
{% if authentication and authentication.sign_out_link_template %}
{% include authentication.sign_out_link_template %}
{% endif %}
{% endblock nav-buttons %}

{% block inner-content %}
<div class="col-lg-6">
<div class="mt-5 pt-4 text-center">{% include "core/includes/icon.html" with name="idcardquestion" %}</div>
<h1 class="h2 py-4">{% translate "Your eligibility could not be verified." %}</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
{% translate "Enrollment error" %}
{% endblock page-title %}

{% block inner-content %}
{% block nav-buttons %}
{% if authentication and authentication.sign_out_link_template %}
{% include authentication.sign_out_link_template %}
{% endif %}
{% endblock nav-buttons %}

{% block inner-content %}
<div class="col-lg-6">
<div class="mt-5 pt-4 text-center">{% include "core/includes/icon.html" with name="calendarcheck" %}</div>
<h1 class="h2 py-4">{% translate "You are still enrolled in this benefit" %}</h1>
Expand Down
4 changes: 3 additions & 1 deletion benefits/enrollment/templates/enrollment/retry.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
{% translate "Unable to enroll card" %}
{% endblock page-title %}

{% block inner-content %}
{% block nav-buttons %}
{% if authentication and authentication.sign_out_link_template %}
{% include authentication.sign_out_link_template %}
{% endif %}
{% endblock nav-buttons %}

{% block inner-content %}
<div class="col-lg-6">
<div class="mt-5 pt-4 text-center">{% include "core/includes/icon.html" with name="bankcardquestion" %}</div>
<h1 class="h2 py-4">{% translate "The card information may not have been entered correctly." %}</h1>
Expand Down

0 comments on commit 55a5f2b

Please sign in to comment.