From c1701c21211253645b64008eb040b40dec95a6cc Mon Sep 17 00:00:00 2001 From: Mark Murnane Date: Mon, 4 Nov 2024 22:04:36 -0500 Subject: [PATCH 1/2] Replacing stops with config --- uber/templates/shifts_admin/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uber/templates/shifts_admin/index.html b/uber/templates/shifts_admin/index.html index 7c2dcc92b..68cb8b61f 100644 --- a/uber/templates/shifts_admin/index.html +++ b/uber/templates/shifts_admin/index.html @@ -28,12 +28,12 @@
{% if checklist.relevant %} {% if checklist.completed %} - You've already indicated that what's here and/or whatever shifts STOPS creates are fine. If that's not the case, please email {{ 'stops@magfest.org'|email_to_link }}. + You've already indicated that what's here and/or whatever shifts STOPS creates are fine. If that's not the case, please email {{ c.STAFF_EMAIL|email_to_link }}. {% else %} {% if department.is_shiftless %} - This department is on record as not needing any shifts. Please click the following link to confirm this so we know we don't need to make any shifts. If this is in error and you'd like shifts for your people, please email {{ 'stops@magfest.org'|email_to_link }}. + This department is on record as not needing any shifts. Please click the following link to confirm this so we know we don't need to make any shifts. If this is in error and you'd like shifts for your people, please email {{ c.STAFF_EMAIL|email_to_link }}. {% else %} -

We are able to import shifts from last year. If you want us to import last year's shifts, please email {{ 'stops@magfest.org'|email_to_link }}. +

We are able to import shifts from last year. If you want us to import last year's shifts, please email {{ c.STAFF_EMAIL|email_to_link }}. You will still be able to edit those shifts, add slots for additional volunteers, and create new shifts. If you choose to import last year’s shifts, please take the time to look them over and make any needed changes. After the import, you will need to return to this page and approve that they are correct by clicking "I Don’t Need To Do Anything Else Here."

If you want any shifts to be restricted to certain staffers, including setup or teardown shifts, please use the "roles" function when creating shifts. Shifts with specific roles will only be visible to staff that you have assigned to ALL of those roles.

From a5292d71ea2c7901f17051fdfe75feb7e4c349e7 Mon Sep 17 00:00:00 2001 From: Victoria Earl Date: Mon, 4 Nov 2024 22:13:24 -0500 Subject: [PATCH 2/2] Add |email_only filter This keeps the link from getting messed up since STAFF_EMAIL is usually something like "Staffing Operations " --- uber/templates/shifts_admin/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uber/templates/shifts_admin/index.html b/uber/templates/shifts_admin/index.html index 68cb8b61f..b228ad667 100644 --- a/uber/templates/shifts_admin/index.html +++ b/uber/templates/shifts_admin/index.html @@ -28,12 +28,12 @@
{% if checklist.relevant %} {% if checklist.completed %} - You've already indicated that what's here and/or whatever shifts STOPS creates are fine. If that's not the case, please email {{ c.STAFF_EMAIL|email_to_link }}. + You've already indicated that what's here and/or whatever shifts STOPS creates are fine. If that's not the case, please email {{ c.STAFF_EMAIL|email_only|email_to_link }}. {% else %} {% if department.is_shiftless %} - This department is on record as not needing any shifts. Please click the following link to confirm this so we know we don't need to make any shifts. If this is in error and you'd like shifts for your people, please email {{ c.STAFF_EMAIL|email_to_link }}. + This department is on record as not needing any shifts. Please click the following link to confirm this so we know we don't need to make any shifts. If this is in error and you'd like shifts for your people, please email {{ c.STAFF_EMAIL|email_only|email_to_link }}. {% else %} -

We are able to import shifts from last year. If you want us to import last year's shifts, please email {{ c.STAFF_EMAIL|email_to_link }}. +

We are able to import shifts from last year. If you want us to import last year's shifts, please email {{ c.STAFF_EMAIL|email_only|email_to_link }}. You will still be able to edit those shifts, add slots for additional volunteers, and create new shifts. If you choose to import last year’s shifts, please take the time to look them over and make any needed changes. After the import, you will need to return to this page and approve that they are correct by clicking "I Don’t Need To Do Anything Else Here."

If you want any shifts to be restricted to certain staffers, including setup or teardown shifts, please use the "roles" function when creating shifts. Shifts with specific roles will only be visible to staff that you have assigned to ALL of those roles.