This commit is contained in:
j3d1 2024-04-26 16:16:23 +02:00
parent 77655f534c
commit e16d34c44d

View file

@ -259,10 +259,10 @@ Your c3lf (Cloakroom + Lost&Found) Team'''.format(active_issue_thread.short_uuid
eventslug = target_event.slug if target_event else "37C3" # TODO 37C3 should not be hardcoded eventslug = target_event.slug if target_event else "37C3" # TODO 37C3 should not be hardcoded
if new: if new:
notification = f"""New issue \"{active_issue_thread.name}\" [{active_issue_thread.short_uuid()}] created notification = f"""New issue \"{active_issue_thread.name}\" [{active_issue_thread.short_uuid()}] created
see https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.short_uuid.id}/""" see https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.id}/"""
else: else:
notification = f"""Reply to issue \"{active_issue_thread.name}\" [{active_issue_thread.short_uuid()}] notification = f"""Reply to issue \"{active_issue_thread.name}\" [{active_issue_thread.short_uuid()}]
see https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.short_uuid.id}/""" see https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.id}/"""
return email, new, reply, notification return email, new, reply, notification