-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: agency card eligibility error (#2053)
- Loading branch information
Showing
11 changed files
with
104 additions
and
20 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
benefits/core/migrations/0008_eligibilityverifier_unverified_template.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 5.0.3 on 2024-04-24 21:01 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0007_eligibilitytype_enrollment_index_template"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="eligibilityverifier", | ||
name="unverified_template", | ||
field=models.TextField(default="eligibility/unverified.html"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
benefits/eligibility/templates/eligibility/unverified--mst-courtesy-card.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends "eligibility/unverified.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 %} | ||
<div class="col-lg-3 col-8">{% include "core/includes/button--origin.html" with button_text=button_text %}</div> | ||
{% endblock unverified-call-to-action %} |
15 changes: 15 additions & 0 deletions
15
benefits/eligibility/templates/eligibility/unverified--sbmtd-mobility-pass.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends "eligibility/unverified.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 %} | ||
<div class="col-lg-3 col-8">{% include "core/includes/button--origin.html" with button_text=button_text %}</div> | ||
{% endblock unverified-call-to-action %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters