Skip to content

Commit

Permalink
feat: add message for flows that support expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Sep 19, 2024
1 parent 1da342e commit c3292aa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion benefits/in_person/templates/in_person/enrollment/success.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ <h2 class="p-0 m-0 text-left">In-person enrollment</h2>
<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>
<p>Success! This rider can now use their contactless card to automatically receive a reduced fare when they tap-to-ride.</p>
<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">
Expand Down

0 comments on commit c3292aa

Please sign in to comment.