Rework notification system

This commit is contained in:
Patrick Jentsch committed 2020-04-27 15:22:20 +02:00
1 parent b30382e605
commit c67c033aec
6 files changed
+32 -28

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ def delete_job(job_id):
if not (job.creator == current_user or current_user.is_administrator()):
abort(403)
tasks.delete_job(job_id)
flash('Job has been deleted!')
flash('Job has been deleted!', 'job')
return redirect(url_for('main.dashboard'))