Skip to content

Commit 497acdb

Browse files
authored
Fix: enrollment index headline (#2079)
2 parents 7cf6349 + 4d08c63 commit 497acdb

File tree

5 files changed

+27
-9
lines changed

5 files changed

+27
-9
lines changed

benefits/core/migrations/local_fixtures.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
"fields": {
8888
"name": "courtesy_card",
8989
"label": "(MST) Courtesy Card Discount",
90-
"group_id": "group123"
90+
"group_id": "group123",
91+
"enrollment_index_template": "enrollment/index--agency-card.html"
9192
}
9293
},
9394
{
@@ -114,7 +115,8 @@
114115
"fields": {
115116
"name": "mobility_pass",
116117
"label": "(SBMTD) Mobility Pass Discount",
117-
"group_id": "group123"
118+
"group_id": "group123",
119+
"enrollment_index_template": "enrollment/index--agency-card.html"
118120
}
119121
},
120122
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% extends "enrollment/index.html" %}
2+
{% load i18n %}
3+
4+
{% block headline %}
5+
<div class="col-lg-8">
6+
<h1 class="pb-lg-8 pb-4">
7+
{% translate "We found your record!<br>Now let’s enroll your contactless card." %}
8+
</h1>
9+
</div>
10+
{% endblock headline %}

benefits/enrollment/templates/enrollment/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{% block headline %}
1515
<div class="col-lg-8">
1616
<h1 class="pb-lg-8 pb-4">
17-
{% translate "We found your record!<br>Now let’s enroll your contactless card." %}
17+
{% translate "Your eligibility is confirmed!<br>You’re almost there." %}
1818
</h1>
1919
</div>
2020
{% endblock headline %}

benefits/locale/en/LC_MESSAGES/django.po

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
msgid ""
77
msgstr ""
88
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
9-
"POT-Creation-Date: 2024-05-02 20:39+0000\n"
9+
"POT-Creation-Date: 2024-05-03 15:20+0000\n"
1010
"Language: English\n"
1111
"MIME-Version: 1.0\n"
1212
"Content-Type: text/plain; charset=UTF-8\n"
@@ -603,10 +603,13 @@ msgstr ""
603603
msgid "Learn more about Littlepay"
604604
msgstr ""
605605

606+
msgid "We found your record!<br>Now let’s enroll your contactless card."
607+
msgstr ""
608+
606609
msgid "Eligibility confirmation"
607610
msgstr ""
608611

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

612615
msgid "Please wait..."

benefits/locale/es/LC_MESSAGES/django.po

+7-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
msgid ""
77
msgstr ""
88
"Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n"
9-
"POT-Creation-Date: 2024-05-02 20:39+0000\n"
9+
"POT-Creation-Date: 2024-05-03 18:34+0000\n"
1010
"Language: Español\n"
1111
"MIME-Version: 1.0\n"
1212
"Content-Type: text/plain; charset=UTF-8\n"
@@ -742,14 +742,17 @@ msgstr "Utilice una tarjeta de débito o crédito de Visa o Mastercard."
742742
msgid "Learn more about Littlepay"
743743
msgstr "Más información sobre Littlepay"
744744

745-
msgid "Eligibility confirmation"
746-
msgstr "Confirmación de elegibilidad"
747-
748745
msgid "We found your record!<br>Now let’s enroll your contactless card."
749746
msgstr ""
750747
"¡Encontramos su registro!<br>Ahora inscribamos su tarjeta de pago sin "
751748
"contacto."
752749

750+
msgid "Eligibility confirmation"
751+
msgstr "Confirmación de elegibilidad"
752+
753+
msgid "Your eligibility is confirmed!<br>You’re almost there."
754+
msgstr "¡Su elegibilidad está confirmada!<br>Ya falta poco."
755+
753756
msgid "Please wait..."
754757
msgstr "Espere por favor..."
755758

0 commit comments

Comments
 (0)