Skip to content

Commit

Permalink
refactor(elig-item): rename all files from media-item to eligibility-…
Browse files Browse the repository at this point in the history
…item
  • Loading branch information
machikoyasuda committed Dec 10, 2024
1 parent 0a5f154 commit ff88efa
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/includes/media-item.html" %}
{% extends "core/includes/eligibility-item.html" %}
{% load i18n %}

{% block heading %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/includes/media-item.html" %}
{% extends "core/includes/eligibility-item.html" %}

{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/includes/media-item.html" %}
{% extends "core/includes/eligibility-item.html" %}

{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/includes/media-item.html" %}
{% extends "core/includes/eligibility-item.html" %}

{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/includes/media-item.html" %}
{% extends "core/includes/eligibility-item.html" %}

{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "core/includes/media-item.html" %}
{% extends "core/includes/eligibility-item.html" %}

{% load i18n %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>{% translate "You selected a CalFresh Cardholder transit benefit." %}</h1>
</div>
{% endblock headline %}

{% block media-item %}
{% include "eligibility/includes/media-item--identification--start--login-gov.html" %}
{% endblock media-item %}
{% block eligibility-item %}
{% include "eligibility/includes/eligibility-item--identification--start--login-gov.html" %}
{% endblock eligibility-item %}

{% block call-to-action-button %}
{% translate "Get started with" as button_text %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>{% translate "You selected an Agency Card transit benefit." %}</h1>
</div>
{% endblock headline %}

{% block media-item %}
{% include "eligibility/includes/media-item--identification--start--cst-agency-card.html" %}
{% endblock media-item %}
{% block eligibility-item %}
{% include "eligibility/includes/eligibility-item--identification--start--cst-agency-card.html" %}
{% endblock eligibility-item %}

{% block call-to-action-button %}
<a href="{% url routes.ELIGIBILITY_CONFIRM %}" class="btn btn-lg btn-primary" role="button">{% translate "Continue" %}</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>{% translate "You selected a Medicare Cardholder transit benefit." %}</h1>
</div>
{% endblock headline %}

{% block media-item %}
{% include "eligibility/includes/media-item--identification--start--medicare.html" %}
{% endblock media-item %}
{% block eligibility-item %}
{% include "eligibility/includes/eligibility-item--identification--start--medicare.html" %}
{% endblock eligibility-item %}

{% block call-to-action-button %}
<a href="{% url routes.OAUTH_LOGIN %}" class="btn btn-lg btn-primary" role="button">{% translate "Continue to Medicare.gov" %}</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>{% translate "You selected a Courtesy Card transit benefit." %}</h1>
</div>
{% endblock headline %}

{% block media-item %}
{% include "eligibility/includes/media-item--identification--start--mst-agency-card.html" %}
{% endblock media-item %}
{% block eligibility-item %}
{% include "eligibility/includes/eligibility-item--identification--start--mst-agency-card.html" %}
{% endblock eligibility-item %}

{% block call-to-action-button %}
<a href="{% url routes.ELIGIBILITY_CONFIRM %}" class="btn btn-lg btn-primary" role="button">{% translate "Continue" %}</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>{% translate "You selected a Reduced Fare Mobility ID transit benefit." %}</
</div>
{% endblock headline %}

{% block media-item %}
{% include "eligibility/includes/media-item--identification--start--sbmtd-agency-card.html" %}
{% endblock media-item %}
{% block eligibility-item %}
{% include "eligibility/includes/eligibility-item--identification--start--sbmtd-agency-card.html" %}
{% endblock eligibility-item %}

{% block call-to-action-button %}
<a href="{% url routes.ELIGIBILITY_CONFIRM %}" class="btn btn-lg btn-primary" role="button">{% translate "Continue" %}</a>
Expand Down
6 changes: 3 additions & 3 deletions benefits/eligibility/templates/eligibility/start--senior.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>{% translate "You selected an Older Adult transit benefit." %}</h1>
</div>
{% endblock headline %}

{% block media-item %}
{% include "eligibility/includes/media-item--identification--start--login-gov.html" %}
{% endblock media-item %}
{% block eligibility-item %}
{% include "eligibility/includes/eligibility-item--identification--start--login-gov.html" %}
{% endblock eligibility-item %}

{% block call-to-action-button %}
{% translate "Get started with" as button_text %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ <h1>{% translate "You selected a Veteran transit benefit." %}</h1>
</div>
{% endblock headline %}

{% block media-item %}
{% include "eligibility/includes/media-item--identification--start--login-gov.html" %}
{% endblock media-item %}
{% block eligibility-item %}
{% include "eligibility/includes/eligibility-item--identification--start--login-gov.html" %}
{% endblock eligibility-item %}

{% block call-to-action-button %}
{% translate "Get started with" as button_text %}
Expand Down
6 changes: 3 additions & 3 deletions benefits/eligibility/templates/eligibility/start.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<div class="col-lg-6">
<p class="py-4">{% translate "You will need a few items to continue:" %}</p>
<ul class="d-flex flex-column gap-4 list-unstyled ps-0 mb-0">
{% block media-item %}
{% endblock media-item %}
{% include "eligibility/includes/media-item--contactless-card--start.html" %}
{% block eligibility-item %}
{% endblock eligibility-item %}
{% include "eligibility/includes/eligibility-item--contactless-card--start.html" %}
</ul>
</div>
{% endblock inner-content %}
Expand Down

0 comments on commit ff88efa

Please sign in to comment.