From 2b50e4bac16bfb8ca2a60d884cc1cbdd13ee573f Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Fri, 6 Dec 2024 21:29:21 +0000 Subject: [PATCH 1/5] feat(enrollment-success): widen header to 9, to match content --- benefits/enrollment/templates/enrollment/success.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benefits/enrollment/templates/enrollment/success.html b/benefits/enrollment/templates/enrollment/success.html index 8c87ce028..b5a9af8ce 100644 --- a/benefits/enrollment/templates/enrollment/success.html +++ b/benefits/enrollment/templates/enrollment/success.html @@ -12,7 +12,7 @@ {% endblock page-title %} {% block headline %} -
+

{% block headline-message %} {% blocktranslate trimmed %} From 31722caecda76f9b86e54444844d34999daab56f Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Fri, 6 Dec 2024 21:46:55 +0000 Subject: [PATCH 2/5] feat(logged-out): update logged out page with new spacing --- benefits/core/templates/core/logged-out.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/benefits/core/templates/core/logged-out.html b/benefits/core/templates/core/logged-out.html index 2c3f1f1f6..042fa05c5 100644 --- a/benefits/core/templates/core/logged-out.html +++ b/benefits/core/templates/core/logged-out.html @@ -7,12 +7,10 @@ {% block main-content %}
-
+
-

- {% include "core/includes/icon.html" with name="happybus" %} - {% translate "You have successfully logged out. Thank you for using Cal-ITP Benefits!" %} -

+
{% include "core/includes/icon.html" with name="happybus" %}
+

{% translate "You have successfully logged out. Thank you for using Cal-ITP Benefits!" %}

From 45351bda43d443364db20c0ebf21723fa91b4564 Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Fri, 6 Dec 2024 22:13:39 +0000 Subject: [PATCH 3/5] feat(enrollment-success): don't forget cta log out sentence --- benefits/enrollment/templates/enrollment/success.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benefits/enrollment/templates/enrollment/success.html b/benefits/enrollment/templates/enrollment/success.html index b5a9af8ce..e73f2110e 100644 --- a/benefits/enrollment/templates/enrollment/success.html +++ b/benefits/enrollment/templates/enrollment/success.html @@ -24,7 +24,7 @@

{% endblock headline %} {% block inner-content %} -
+
{# djlint:off #} @@ -58,7 +58,7 @@

{% translate "Your benefit will expire on" %} {{ enr {% block call-to-action %} {% if authentication and authentication.logged_in and authentication.sign_out_button_template %}
-
+

{% translate "If you are on a public or shared computer, don’t forget to sign out of " %} {% include authentication.sign_out_button_template %} From 90599623f71fcb531db50eaf433621936319b59e Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Fri, 6 Dec 2024 22:29:30 +0000 Subject: [PATCH 4/5] refactor: reduce divitis on enrollment-success --- .../templates/enrollment/success.html | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/benefits/enrollment/templates/enrollment/success.html b/benefits/enrollment/templates/enrollment/success.html index e73f2110e..8f9440801 100644 --- a/benefits/enrollment/templates/enrollment/success.html +++ b/benefits/enrollment/templates/enrollment/success.html @@ -52,18 +52,13 @@

{% translate "Your benefit will expire on" %} {{ enr alt="" />

-
-{% endblock inner-content %} - -{% block call-to-action %} - {% if authentication and authentication.logged_in and authentication.sign_out_button_template %} -
-
-

+ {% if authentication and authentication.logged_in and authentication.sign_out_button_template %} +

+

{% translate "If you are on a public or shared computer, don’t forget to sign out of " %} {% include authentication.sign_out_button_template %}

-
- {% endif %} -{% endblock call-to-action %} + {% endif %} +
+{% endblock inner-content %} From 279fc00f459b02effa6bb0316c937713d2948564 Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Tue, 10 Dec 2024 21:38:34 +0000 Subject: [PATCH 5/5] fix(logged-out): fix padding from top --- benefits/core/templates/core/logged-out.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benefits/core/templates/core/logged-out.html b/benefits/core/templates/core/logged-out.html index 042fa05c5..2e53ae63d 100644 --- a/benefits/core/templates/core/logged-out.html +++ b/benefits/core/templates/core/logged-out.html @@ -9,7 +9,7 @@
-
{% include "core/includes/icon.html" with name="happybus" %}
+
{% include "core/includes/icon.html" with name="happybus" %}

{% translate "You have successfully logged out. Thank you for using Cal-ITP Benefits!" %}