-
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.
Feat: success template for in-person enrollment (#2378)
- Loading branch information
Showing
4 changed files
with
58 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% extends "admin/agency-base.html" %} | ||
{% load static %} | ||
|
||
{% block content %} | ||
<div class="row justify-content-center"> | ||
<div class="col-lg-6"> | ||
<div class="border border-3 p-3"> | ||
<h2 class="p-0 m-0 text-left">In-person enrollment</h2> | ||
</div> | ||
<div class="border border-3 border-top-0 p-3 min-vh-60 d-flex flex-column justify-content-between"> | ||
<div class="d-flex"> | ||
<i class="success-icon"></i> | ||
<div> | ||
<p>Success! This rider can now use their contactless card to automatically receive a reduced fare when they tap-to-ride.</p> | ||
|
||
{% if enrollment.supports_expiration %} | ||
<p> | ||
<span class="fw-bold my-3">This rider will enjoy a transit benefit until {{ enrollment.expires|date }}.</span> They will need to enroll again at that time to continue receiving reduced fares. | ||
</p> | ||
{% endif %} | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-6"> | ||
{% url routes.IN_PERSON_ELIGIBILITY as url_eligibility %} | ||
<a href="{{ url_eligibility }}" class="btn btn-lg btn-outline-primary d-block">New enrollment</a> | ||
</div> | ||
<div class="col-6"> | ||
{% url routes.ADMIN_INDEX as url_done %} | ||
<a href="{{ url_done }}" class="btn btn-lg btn-primary d-block">Done</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock content %} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.