-
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.
Deploy CST templates to test (#2209)
- Loading branch information
Showing
49 changed files
with
481 additions
and
339 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
workflow_dispatch: | ||
push: | ||
branches: | ||
- dev | ||
- main | ||
- test | ||
- prod | ||
|
||
|
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
8 changes: 8 additions & 0 deletions
8
benefits/core/templates/core/includes/help--cst-agency-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,8 @@ | ||
{% load i18n %} | ||
|
||
<h2 class="h2-sm pt-4 pt-lg-8" id="cst-agency-card">{% translate "What is an Agency Card?" %}</h2> | ||
<p class="pt-2 pt-lg-4"> | ||
{% blocktranslate trimmed %} | ||
California State Transit issues Agency Cards to riders who qualify for a number of reduced fare programs. This transit benefit may need to be renewed in the future based on the expiration date of the Agency Card. Learn more at the <a href="https://www.agency-website.com" target="_blank" rel="noopener noreferrer">www.agency-website.com</a>. | ||
{% endblocktranslate %} | ||
</p> |
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,6 @@ | ||
{% extends "core/agency-index.html" %} | ||
{% load i18n %} | ||
|
||
{% block headline %} | ||
{% translate "Get a reduced fare on CST public transportation when you tap to ride" %} | ||
{% endblock headline %} |
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
13 changes: 13 additions & 0 deletions
13
...ility/templates/eligibility/includes/media-item--idcardcheck--start--cst-agency-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,13 @@ | ||
{% extends "eligibility/includes/media-item--idcardcheck.html" %} | ||
|
||
{% load i18n %} | ||
|
||
{% block heading %} | ||
{% translate "Your current Agency Card number" %} | ||
{% endblock heading %} | ||
|
||
{% block body %} | ||
<div class="media-body--details"> | ||
<p>{% translate "You do not need to have your physical CST Agency Card, but you will need to know the number." %}</p> | ||
</div> | ||
{% endblock body %} |
10 changes: 10 additions & 0 deletions
10
benefits/eligibility/templates/eligibility/includes/selection-label--cst-agency-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,10 @@ | ||
{% extends "eligibility/includes/selection-label.html" %} | ||
{% load i18n %} | ||
|
||
{% block label %} | ||
{% translate "Agency Card" %} | ||
{% endblock label %} | ||
|
||
{% block description %} | ||
{% translate "This option is for people who have a current CST Agency Card or a CST Paratransit Eligibility Card." %} | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% extends "eligibility/index.html" %} | ||
|
||
{% load i18n %} | ||
|
||
{% block explanatory-text %} | ||
<p class="pt-4 pb-4 pb-lg-8"> | ||
{% translate "Cal-ITP doesn’t save any of your information. All CST transit benefits reduce fares by 50% for bus service on fixed routes." %} | ||
</p> | ||
{% endblock explanatory-text %} |
25 changes: 25 additions & 0 deletions
25
benefits/eligibility/templates/eligibility/start--cst-agency-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,25 @@ | ||
{% extends "eligibility/start.html" %} | ||
{% load i18n %} | ||
|
||
{% block page-title %} | ||
{% translate "Agency card overview" %} | ||
{% endblock page-title %} | ||
|
||
{% block headline %} | ||
<div class="col-lg-8"> | ||
<h1>{% translate "You selected an Agency Card transit benefit." %}</h1> | ||
</div> | ||
{% endblock headline %} | ||
|
||
{% block media-item %} | ||
{% include "eligibility/includes/media-item--idcardcheck--start--cst-agency-card.html" %} | ||
{% endblock media-item %} | ||
|
||
{% block call-to-action %} | ||
<div class="row d-flex justify-content-lg-end"> | ||
<div class="col-lg-3 offset-2 offset-sm-2 offset-lg-0 col-sm-8 col-8"> | ||
{% url "eligibility:confirm" as button_url %} | ||
<a href="{{ button_url }}" class="btn btn-lg btn-primary" role="button">{% translate "Continue" %}</a> | ||
</div> | ||
</div> | ||
{% endblock call-to-action %} |
15 changes: 15 additions & 0 deletions
15
benefits/eligibility/templates/eligibility/unverified--cst-agency-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 CST Agency 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 %} |
21 changes: 21 additions & 0 deletions
21
benefits/enrollment/templates/enrollment/success--cst-agency-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,21 @@ | ||
{% extends "enrollment/success.html" %} | ||
{% load i18n %} | ||
|
||
{% block headline-message %} | ||
{% blocktranslate trimmed %} | ||
You can now use your contactless card to tap to ride with a reduced fare! | ||
{% endblocktranslate %} | ||
{% endblock headline-message %} | ||
|
||
{% block success-message %} | ||
{% blocktranslate trimmed %} | ||
Your contactless card is now enrolled in a CST Agency Card transit benefit. When boarding a CST bus, tap this card and you will be | ||
charged a reduced fare. You will need to re-enroll if you choose to change the card you use to pay for transit service. | ||
{% endblocktranslate %} | ||
{% endblock success-message %} | ||
|
||
{% block thank-you-message %} | ||
{% blocktranslate trimmed %} | ||
You were not charged anything today. Thank you for using Cal-ITP Benefits! | ||
{% endblocktranslate %} | ||
{% endblock thank-you-message %} |
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,9 @@ | ||
{% extends "enrollment/success.html" %} | ||
{% load i18n %} | ||
|
||
{% block success-message %} | ||
{% blocktranslate trimmed %} | ||
You were not charged anything today. When boarding a CST bus, tap your contactless card and you will be | ||
charged a reduced fare. You will need to re-enroll if you choose to change the card you use to pay for transit service. | ||
{% endblocktranslate %} | ||
{% endblock success-message %} |
Oops, something went wrong.