From 9fbcccff060e08240b014974413ca3ba3003f109 Mon Sep 17 00:00:00 2001 From: rukwashai Date: Thu, 18 Jun 2026 11:01:30 -0400 Subject: [PATCH 01/10] We created the back button for create event tab pages --- app/templates/events/createEvent.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/templates/events/createEvent.html b/app/templates/events/createEvent.html index 7b8a2b346..f562efb35 100644 --- a/app/templates/events/createEvent.html +++ b/app/templates/events/createEvent.html @@ -58,6 +58,7 @@ {% else %}

{{page_title}}

+
{% endif %} @@ -312,8 +313,11 @@

{{page_title}}

-
+
+ {% if not event %} + Back + {% endif %} {% if event %} @@ -326,7 +330,7 @@

{{page_title}}

{% endif %} - +
From 9f328276c7bfef1a4284883d762d7004b2abf469 Mon Sep 17 00:00:00 2001 From: rukwashai Date: Thu, 18 Jun 2026 11:34:19 -0400 Subject: [PATCH 02/10] Back button added to student search and create event --- app/templates/events/createEvent.html | 2 +- app/templates/main/userProfile.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/templates/events/createEvent.html b/app/templates/events/createEvent.html index f562efb35..c85da8125 100644 --- a/app/templates/events/createEvent.html +++ b/app/templates/events/createEvent.html @@ -317,7 +317,7 @@

{{page_title}}

{% if not event %} Back - {% endif %} + {% endif %} {% if event %} diff --git a/app/templates/main/userProfile.html b/app/templates/main/userProfile.html index 75fa86a11..69d48213d 100644 --- a/app/templates/main/userProfile.html +++ b/app/templates/main/userProfile.html @@ -13,7 +13,9 @@ {% endblock %} {% block app_content %} +{% if g.current_user.isAdmin or g.current_user.isCeltsStudentStaff %} +{% endif %}

{{volunteer.firstName}} {{volunteer.lastName}}

@@ -662,6 +664,7 @@
End Date: &nbs
+Back -Back + +{% if volunteer != g.current_user %} +Back +{% endif %} + + From 0cbe105575eaa21a1ff962a79595b39b0be5654a Mon Sep 17 00:00:00 2001 From: rukwashai Date: Thu, 18 Jun 2026 15:50:18 -0400 Subject: [PATCH 04/10] Back button centered --- app/templates/main/userProfile.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/main/userProfile.html b/app/templates/main/userProfile.html index 631d3fd97..917993e41 100644 --- a/app/templates/main/userProfile.html +++ b/app/templates/main/userProfile.html @@ -664,7 +664,9 @@
End Date: &nbs {% if volunteer != g.current_user %} -Back +
+ Back +
{% endif %} From 27c2eb03ddfb2b9ebe64df34791694ece2d33556 Mon Sep 17 00:00:00 2001 From: rukwashai Date: Fri, 19 Jun 2026 10:48:21 -0400 Subject: [PATCH 05/10] Fix back button: replace javascript href with explicit routes, center buttons --- app/templates/events/createEvent.html | 4 ++-- app/templates/main/userProfile.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/events/createEvent.html b/app/templates/events/createEvent.html index c85da8125..71f6f59c0 100644 --- a/app/templates/events/createEvent.html +++ b/app/templates/events/createEvent.html @@ -311,12 +311,12 @@

{{page_title}}

{% endif %} -
+
{% if not event %} - Back + Back {% endif %} {% if event %}