Skip to content

Commit

Permalink
Fix: enrollment index headline (#2079)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed May 3, 2024
2 parents 7cf6349 + 4d08c63 commit 497acdb
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
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

0 comments on commit 497acdb

Please sign in to comment.