Skip to content

Commit

Permalink
fix: use the word text instead of trigger_text
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Aug 8, 2023
1 parent a6c3de2 commit 98a984a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions benefits/core/templates/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% endblock headline %}

{% block call-to-action %}
{% translate "core.pages.index.button" as trigger_text %}
{% include "core/includes/modal-trigger.html" with modal="modal--agency-selector" classes="btn btn-lg btn-primary" text=trigger_text period=False %}
{% translate "core.pages.index.button" as text %}
{% include "core/includes/modal-trigger.html" with modal="modal--agency-selector" classes="btn btn-lg btn-primary" text=text period=False %}
{% include "core/includes/modal--agency-selector.html" with id="modal--agency-selector" %}
{% endblock call-to-action %}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div class="media-body--details">
<p>
{% translate "eligibility.pages.start.bankcard.text" %}
{% translate "eligibility.pages.start.modal.title" as trigger_text %}
{% include "core/includes/modal-trigger.html" with modal="modal--contactless" text=trigger_text period=True %}
{% translate "eligibility.pages.start.modal.title" as text %}
{% include "core/includes/modal-trigger.html" with modal="modal--contactless" text=text period=True %}
</p>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="media-body--details">
<p>
{% translate "eligibility.pages.start.senior.start_item.details" %}
{% translate "eligibility.pages.start.senior.help.link_text" as trigger_text %}
{% include "core/includes/modal-trigger.html" with modal="modal--identity-verification" text=trigger_text period=True %}
{% translate "eligibility.pages.start.senior.help.link_text" as text %}
{% include "core/includes/modal-trigger.html" with modal="modal--identity-verification" text=text period=True %}
</p>
<div class="media-body--items">
<p>{% translate "eligibility.pages.start.senior.start_item.secondary_details" %}</p>
Expand Down

0 comments on commit 98a984a

Please sign in to comment.