Rework notification system

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

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'))