diff --git a/benefits/eligibility/templates/eligibility/unverified--cst-agency-card.html b/benefits/eligibility/templates/eligibility/unverified--cst-agency-card.html index 9f51e3ba9..8e1a64fde 100644 --- a/benefits/eligibility/templates/eligibility/unverified--cst-agency-card.html +++ b/benefits/eligibility/templates/eligibility/unverified--cst-agency-card.html @@ -1,15 +1,6 @@ -{% extends "eligibility/unverified.html" %} +{% extends "eligibility/unverified-error-agency-base.html" %} {% load i18n %} -{% block unverified-headline %} - {% translate "Your card information may not have been entered correctly." %} -{% endblock unverified-headline %} - {% block unverified-body %} {% translate "The number and last name must be entered exactly as they appear on your CST Agency Card. Please check your card and try again, or contact your transit agency for help." %} {% endblock unverified-body %} - -{% block unverified-call-to-action %} - {% translate "Try again" as button_text %} -
{% include "core/includes/button--origin.html" with button_text=button_text %}
-{% endblock unverified-call-to-action %} diff --git a/benefits/eligibility/templates/eligibility/unverified--mst-agency-card.html b/benefits/eligibility/templates/eligibility/unverified--mst-agency-card.html index b1b710d38..683285f9b 100644 --- a/benefits/eligibility/templates/eligibility/unverified--mst-agency-card.html +++ b/benefits/eligibility/templates/eligibility/unverified--mst-agency-card.html @@ -1,15 +1,6 @@ -{% extends "eligibility/unverified.html" %} +{% extends "eligibility/unverified-error-agency-base.html" %} {% load i18n %} -{% block unverified-headline %} - {% translate "Your card information may not have been entered correctly." %} -{% endblock unverified-headline %} - {% block unverified-body %} {% translate "The number and last name must be entered exactly as they appear on your MST Courtesy Card. Please check your card and try again, or contact your transit agency for help." %} {% endblock unverified-body %} - -{% block unverified-call-to-action %} - {% translate "Try again" as button_text %} -
{% include "core/includes/button--origin.html" with button_text=button_text %}
-{% endblock unverified-call-to-action %} diff --git a/benefits/eligibility/templates/eligibility/unverified--sbmtd-agency-card.html b/benefits/eligibility/templates/eligibility/unverified--sbmtd-agency-card.html index 828fa1803..92cf826c6 100644 --- a/benefits/eligibility/templates/eligibility/unverified--sbmtd-agency-card.html +++ b/benefits/eligibility/templates/eligibility/unverified--sbmtd-agency-card.html @@ -1,15 +1,6 @@ -{% extends "eligibility/unverified.html" %} +{% extends "eligibility/unverified-error-agency-base.html" %} {% load i18n %} -{% block unverified-headline %} - {% translate "Your card information may not have been entered correctly." %} -{% endblock unverified-headline %} - {% block unverified-body %} {% translate "The number and last name must be entered exactly as they appear on your SBMTD Reduced Fare Mobility ID card. Please check your card and try again, or contact your transit agency for help." %} {% endblock unverified-body %} - -{% block unverified-call-to-action %} - {% translate "Try again" as button_text %} -
{% include "core/includes/button--origin.html" with button_text=button_text %}
-{% endblock unverified-call-to-action %} diff --git a/benefits/eligibility/templates/eligibility/unverified-error-agency-base.html b/benefits/eligibility/templates/eligibility/unverified-error-agency-base.html new file mode 100644 index 000000000..ef7edf818 --- /dev/null +++ b/benefits/eligibility/templates/eligibility/unverified-error-agency-base.html @@ -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 %} +

+ {% block unverified-body %} + {% endblock unverified-body %} +

+ {% include "core/includes/agency-links.html" %} +{% endblock paragraphs %} + +{% block call-to-action-button %} + {% translate "Try again" as button_text %} + {% include "core/includes/button--origin.html" with button_text=button_text %} +{% endblock call-to-action-button %} diff --git a/benefits/eligibility/templates/eligibility/unverified.html b/benefits/eligibility/templates/eligibility/unverified.html index 3bc4c1114..ce11fea5a 100644 --- a/benefits/eligibility/templates/eligibility/unverified.html +++ b/benefits/eligibility/templates/eligibility/unverified.html @@ -21,10 +21,8 @@ {% block paragraphs %}

- {% block 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 %} - {% 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 %}

{% include "core/includes/agency-links.html" %} {% endblock paragraphs %} diff --git a/benefits/locale/en/LC_MESSAGES/django.po b/benefits/locale/en/LC_MESSAGES/django.po index 1b40940fa..1e5fa5c97 100644 --- a/benefits/locale/en/LC_MESSAGES/django.po +++ b/benefits/locale/en/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n" -"POT-Creation-Date: 2024-12-09 13:27-0800\n" +"POT-Creation-Date: 2024-12-19 09:26-0800\n" "Language: English\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -670,18 +670,12 @@ msgstr "" msgid "You will need a few items to continue:" msgstr "" -msgid "Your card information may not have been entered correctly." -msgstr "" - msgid "" "The number and last name must be entered exactly as they appear on your CST " "Agency Card. Please check your card and try again, or contact your transit " "agency for help." msgstr "" -msgid "Try again" -msgstr "" - msgid "" "The number and last name must be entered exactly as they appear on your MST " "Courtesy Card. Please check your card and try again, or contact your transit " @@ -697,6 +691,12 @@ msgstr "" msgid "Unable to confirm eligibility" msgstr "" +msgid "Your card information may not have been entered correctly." +msgstr "" + +msgid "Try again" +msgstr "" + msgid "Your eligibility could not be verified." msgstr "" diff --git a/benefits/locale/es/LC_MESSAGES/django.po b/benefits/locale/es/LC_MESSAGES/django.po index 1f40c5888..127a77402 100644 --- a/benefits/locale/es/LC_MESSAGES/django.po +++ b/benefits/locale/es/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n" -"POT-Creation-Date: 2024-12-09 13:27-0800\n" +"POT-Creation-Date: 2024-12-19 09:26-0800\n" "Language: Español\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -855,11 +855,6 @@ msgstr "Ha seleccionado un beneficio de tránsito para veteranos." msgid "You will need a few items to continue:" msgstr "Necesitará algunos artículos para continuar:" -msgid "Your card information may not have been entered correctly." -msgstr "" -"Es posible que la información de su tarjeta no se haya ingresado " -"correctamente." - msgid "" "The number and last name must be entered exactly as they appear on your CST " "Agency Card. Please check your card and try again, or contact your transit " @@ -869,9 +864,6 @@ msgstr "" "tarjeta de agencia de CST. Verifique su tarjeta e inténtelo de nuevo, o " "contacte a su agencia de tránsito para obtener ayuda." -msgid "Try again" -msgstr "Inténtelo de nuevo" - msgid "" "The number and last name must be entered exactly as they appear on your MST " "Courtesy Card. Please check your card and try again, or contact your transit " @@ -893,6 +885,14 @@ msgstr "" msgid "Unable to confirm eligibility" msgstr "No se pudo confirmar la elegibilidad" +msgid "Your card information may not have been entered correctly." +msgstr "" +"Es posible que la información de su tarjeta no se haya ingresado " +"correctamente." + +msgid "Try again" +msgstr "Inténtelo de nuevo" + msgid "Your eligibility could not be verified." msgstr "No se pudo verificar su elegibilidad."