diff --git a/benefits/core/templates/core/includes/button--index.html b/benefits/core/templates/core/includes/button--index.html index bacc5d42f..feab8ccc6 100644 --- a/benefits/core/templates/core/includes/button--index.html +++ b/benefits/core/templates/core/includes/button--index.html @@ -1,6 +1,6 @@ {% load i18n %} {% url "core:index" as href %} -{% translate "Return Home" as text %} +{% translate "Return Home" as default_button_text %} -{{ text }} +{{ button_text | default:default_button_text }} diff --git a/benefits/locale/en/LC_MESSAGES/django.po b/benefits/locale/en/LC_MESSAGES/django.po index 09d99a6a8..5b5ecef08 100644 --- a/benefits/locale/en/LC_MESSAGES/django.po +++ b/benefits/locale/en/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n" -"POT-Creation-Date: 2023-08-14 21:37+0000\n" +"POT-Creation-Date: 2023-08-15 05:58+0000\n" "Language: English\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -570,6 +570,9 @@ msgid "" "will be directed to the beginning of the enrollment process." msgstr "" +msgid "Start Here" +msgstr "" + msgid "Service is down." msgstr "" diff --git a/benefits/locale/es/LC_MESSAGES/django.po b/benefits/locale/es/LC_MESSAGES/django.po index 09dc9b93c..2f464cfbf 100644 --- a/benefits/locale/es/LC_MESSAGES/django.po +++ b/benefits/locale/es/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/cal-itp/benefits/issues \n" -"POT-Creation-Date: 2023-08-14 21:37+0000\n" +"POT-Creation-Date: 2023-08-15 05:58+0000\n" "Language: Español\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -699,6 +699,9 @@ msgstr "" "Para comenzar con Cal-ITP Benefits haga clic en el botón de abajo y será " "dirigido al comienzo del proceso de inscripción." +msgid "Start Here" +msgstr "Comenzar aquí" + msgid "Service is down." msgstr "El servicio está inactivo" diff --git a/benefits/templates/200-user-error.html b/benefits/templates/200-user-error.html index 788b7b986..0121b2cce 100644 --- a/benefits/templates/200-user-error.html +++ b/benefits/templates/200-user-error.html @@ -14,3 +14,8 @@ {% translate "To get started with Cal-ITP Benefits please click the button below, and you will be directed to the beginning of the enrollment process." %}

{% endblock paragraphs %} + +{% block button %} + {% translate "Start Here" as button_text %} + {% include "core/includes/button--index.html" with button_text=button_text %} +{% endblock button %} diff --git a/benefits/templates/error.html b/benefits/templates/error.html index c87c387f4..e9ee65eb2 100644 --- a/benefits/templates/error.html +++ b/benefits/templates/error.html @@ -25,7 +25,11 @@

-
{% include "core/includes/button--origin.html" %}
+
+ {% block button %} + {% include "core/includes/button--origin.html" %} + {% endblock button %} +
{% endblock main-content %}