Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: enrollment index headline #2079

Merged
merged 4 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions benefits/core/migrations/local_fixtures.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
"fields": {
"name": "courtesy_card",
"label": "(MST) Courtesy Card Discount",
"group_id": "group123"
"group_id": "group123",
"enrollment_index_template": "enrollment/index--agency-card.html"
}
},
{
Expand All @@ -114,7 +115,8 @@
"fields": {
"name": "mobility_pass",
"label": "(SBMTD) Mobility Pass Discount",
"group_id": "group123"
"group_id": "group123",
"enrollment_index_template": "enrollment/index--agency-card.html"
}
},
{
Expand Down
10 changes: 10 additions & 0 deletions benefits/enrollment/templates/enrollment/index--agency-card.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% extends "enrollment/index.html" %}
{% load i18n %}

{% block headline %}
<div class="col-lg-8">
<h1 class="pb-lg-8 pb-4">
{% translate "We found your record!<br>Now let’s enroll your contactless card." %}
</h1>
</div>
{% endblock headline %}
2 changes: 1 addition & 1 deletion benefits/enrollment/templates/enrollment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% block headline %}
<div class="col-lg-8">
<h1 class="pb-lg-8 pb-4">
{% translate "We found your record!<br>Now let’s enroll your contactless card." %}
{% translate "Your eligibility is confirmed!<br>You’re almost there." %}
</h1>
</div>
{% endblock headline %}
Expand Down
7 changes: 5 additions & 2 deletions benefits/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
"POT-Creation-Date: 2024-05-02 20:39+0000\n"
"POT-Creation-Date: 2024-05-03 15:20+0000\n"
"Language: English\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -603,10 +603,13 @@ msgstr ""
msgid "Learn more about Littlepay"
msgstr ""

msgid "We found your record!<br>Now let’s enroll your contactless card."
msgstr ""

msgid "Eligibility confirmation"
msgstr ""

msgid "We found your record!<br>Now let’s enroll your contactless card."
msgid "Your eligibility is confirmed!<br>You’re almost there."
msgstr ""

msgid "Please wait..."
Expand Down
11 changes: 7 additions & 4 deletions benefits/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
"POT-Creation-Date: 2024-05-02 20:39+0000\n"
"POT-Creation-Date: 2024-05-03 18:34+0000\n"
"Language: Español\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -742,14 +742,17 @@ msgstr "Utilice una tarjeta de débito o crédito de Visa o Mastercard."
msgid "Learn more about Littlepay"
msgstr "Más información sobre Littlepay"

msgid "Eligibility confirmation"
msgstr "Confirmación de elegibilidad"

msgid "We found your record!<br>Now let’s enroll your contactless card."
msgstr ""
"¡Encontramos su registro!<br>Ahora inscribamos su tarjeta de pago sin "
"contacto."

msgid "Eligibility confirmation"
msgstr "Confirmación de elegibilidad"

msgid "Your eligibility is confirmed!<br>You’re almost there."
msgstr "¡Su elegibilidad está confirmada!<br>Ya falta poco."

msgid "Please wait..."
msgstr "Espere por favor..."

Expand Down
Loading