-
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.
- Loading branch information
Showing
11 changed files
with
252 additions
and
9 deletions.
There are no files selected for viewing
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
30 changes: 30 additions & 0 deletions
30
benefits/core/migrations/0004_alter_eligibilityverifier_display_order.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,30 @@ | ||
# Generated by Django 5.0.3 on 2024-03-19 20:22 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0003_eligibilitytype_expiration"), | ||
] | ||
|
||
# see https://django-admin-sortable2.readthedocs.io/en/latest/usage.html#initial-data | ||
def set_initial_display_order(apps, schema_editor): | ||
EligibilityVerifier = apps.get_model("core", "EligibilityVerifier") | ||
for order, item in enumerate(EligibilityVerifier.objects.all(), 1): | ||
item.display_order = order | ||
item.save(update_fields=["display_order"]) | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="eligibilityverifier", | ||
options={"ordering": ["display_order"]}, | ||
), | ||
migrations.AddField( | ||
model_name="eligibilityverifier", | ||
name="display_order", | ||
field=models.PositiveSmallIntegerField(default=0), | ||
), | ||
migrations.RunPython(set_initial_display_order, reverse_code=migrations.RunPython.noop), | ||
] |
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
42 changes: 42 additions & 0 deletions
42
benefits/eligibility/templates/eligibility/includes/modal--calfresh.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,42 @@ | ||
{% extends "core/includes/modal.html" %} | ||
{% load i18n %} | ||
{% load static %} | ||
|
||
{% block modal-content %} | ||
<h2 class="me-4 me-md-0">{% translate "Learn more about the transit benefit for CalFresh Cardholders" %}</h2> | ||
<div class="row"> | ||
<h3 class="pt-4">{% translate "How do I know if I'm eligible for the transit benefit for CalFresh Cardholders?" %}</h3> | ||
<p class="pt-1"> | ||
{% blocktranslate trimmed %} | ||
We verify your eligibility as a CalFresh Cardholder by confirming you have received funds in your | ||
CalFresh account at any point in the last three months. This means you are eligible for a transit | ||
benefit even if you did not receive funds in your CalFresh account this month or last month. | ||
{% endblocktranslate %} | ||
</p> | ||
|
||
<h3 class="pt-4">{% translate "Will this transit benefit change my CalFresh account?" %}</h3> | ||
<p class="pt-1"> | ||
{% blocktranslate trimmed %} | ||
No. Your monthly CalFresh allotment will not change. | ||
{% endblocktranslate %} | ||
</p> | ||
<h3 class="pt-4">{% translate "Do I need my Golden State Advantage card to enroll?" %}</h3> | ||
<p class="pt-1"> | ||
{% blocktranslate trimmed %} | ||
No, you do not need your physical EBT card to enroll. We use information from Login.gov and the California | ||
Department of Social Services to enroll you in the benefit. | ||
{% endblocktranslate %} | ||
</p> | ||
<h3 class="pt-4">{% translate "Can I use my Golden State Advantage card to pay for transit rides?" %}</h3> | ||
<p class="pt-1"> | ||
{% blocktranslate trimmed %} | ||
No. You can not use your EBT or P-EBT card to pay for public transportation. When you tap to ride, use your personal | ||
contactless debit or credit card to pay for public transportation. | ||
{% endblocktranslate %} | ||
</p> | ||
|
||
<p class="pt-4 d-block d-sm-none"> | ||
<a href="#" data-bs-dismiss="modal" aria-label="Close">{% translate "Go back" %}</a> | ||
</p> | ||
</div> | ||
{% endblock modal-content %} |
18 changes: 18 additions & 0 deletions
18
benefits/eligibility/templates/eligibility/includes/selection-label--calfresh.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,18 @@ | ||
{% extends "eligibility/includes/selection-label.html" %} | ||
{% load i18n %} | ||
|
||
{% block label %} | ||
{% translate "CalFresh Cardholder" %} | ||
{% endblock label %} | ||
|
||
{% block description %} | ||
{% translate "You must have" %} | ||
{% translate "recently received CalFresh funds" as calfresh_modal_link %} | ||
{% include "core/includes/modal-trigger.html" with modal="modal--calfresh" text=calfresh_modal_link period=True %} | ||
{% include "eligibility/includes/modal--calfresh.html" with id="modal--calfresh" size="modal-lg" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %} | ||
|
||
{% translate "This transit benefit will remain active for one year. You will need to verify your identity with" %} | ||
{% include "core/includes/modal-trigger.html" with classes="border-0 bg-transparent p-0 login" modal="modal--login-gov-veteran" login=True period=True %} | ||
{% include "eligibility/includes/modal--login-gov-help.html" with id="modal--login-gov-calfresh" size="modal-lg" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %} | ||
|
||
{% endblock description %} |
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
Oops, something went wrong.