Skip to content

Commit

Permalink
fix(unverified): create separate base for unverified agency cards, fi…
Browse files Browse the repository at this point in the history
…x copy for unverified login/nonlogin
  • Loading branch information
machikoyasuda committed Dec 19, 2024
1 parent 2ef3421 commit 635c638
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "eligibility/unverified.html" %}
{% extends "eligibility/unverified-error-agency-base.html" %}
{% load i18n %}

{% block unverified-body %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "eligibility/unverified.html" %}
{% extends "eligibility/unverified-error-agency-base.html" %}
{% load i18n %}

{% block unverified-body %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "eligibility/unverified.html" %}
{% extends "eligibility/unverified-error-agency-base.html" %}
{% load i18n %}

{% block unverified-body %}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{% extends "error-base.html" %}
{% load i18n %}

{% block page-title %}
{% translate "Unable to confirm eligibility" %}
{% endblock page-title %}

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

{% block icon %}
{% include "core/includes/icon.html" with name="idcardquestion" %}
{% endblock icon %}

{% block headline-text %}
{% translate "Your card information may not have been entered correctly." %}
{% endblock headline-text %}

{% block paragraphs %}
<p>
{% block unverified-body %}
{% endblock unverified-body %}
</p>
{% include "core/includes/agency-links.html" %}
{% endblock paragraphs %}

{% block call-to-action-button %}
{% translate "Try again" as button_text %}
{% include "core/includes/button--index.html" %}
{% endblock call-to-action-button %}
7 changes: 3 additions & 4 deletions benefits/eligibility/templates/eligibility/unverified.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@
{% endblock icon %}

{% block headline-text %}
{% translate "Your card information may not have been entered correctly." %}
{% translate "Your eligibility could not be verified." %}
{% endblock headline-text %}

{% block paragraphs %}
<p>
{% block unverified-body %}
{% endblock unverified-body %}
{% translate "That’s okay! You may still be eligible for our program." %}
{% blocktranslate with short_name=agency.short_name %}Please reach out to {{ short_name }} for assistance.{% endblocktranslate %}
</p>
{% include "core/includes/agency-links.html" %}
{% endblock paragraphs %}

{% block call-to-action-button %}
{% translate "Try again" as button_text %}
{% include "core/includes/button--index.html" %}
{% endblock call-to-action-button %}

0 comments on commit 635c638

Please sign in to comment.