Skip to content

Commit ccd17cd

Browse files
committed
Add panel received email back
This email was removed by mistake and we just didn't notice since Super uses per-department panel emails. Also fixes a typo in the department/shift imports.
1 parent 30098ff commit ccd17cd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

uber/automated_emails.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,6 +1511,13 @@ def __init__(self, subject, template, filter, ident, **kwargs):
15111511

15121512

15131513
if c.PANELS_START:
1514+
PanelAppEmailFixture(
1515+
'Your {EVENT_NAME} Panel Application Has Been Received: {{ app.name }}',
1516+
'panels/application.html',
1517+
lambda a: True,
1518+
needs_approval=False,
1519+
ident='panel_received')
1520+
15141521
PanelAppEmailFixture(
15151522
'Your {EVENT_NAME} Panel Application Has Been Accepted: {{ app.name }}',
15161523
'panels/panel_app_accepted.txt',

uber/site_sections/staffing_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def import_shifts(
150150
if shifts_text:
151151
_copy_department_shifts(service, to_department, from_department, dept_role_map, dept_template_map)
152152

153-
message = '{}{}successfully imported from {}'.format(to_department.name, shifts_text, uri)
153+
message = '{}{} successfully imported from {}'.format(to_department.name, shifts_text, uri)
154154
raise HTTPRedirect('import_shifts?target_server={}&api_token={}&message={}',
155155
target_server, api_token, message)
156156

0 commit comments

Comments
 (0)