Simplify daemon logic

This commit is contained in:
Patrick Jentsch
2020-11-09 16:14:19 +01:00
parent 0f30e518af
commit cb9da5c7dd
21 changed files with 308 additions and 555 deletions

View File

@ -0,0 +1,9 @@
<p>Dear <b>{{ user.username }}</b>,</p>
<p>The status of your Job/Corpus({{ job.id }}) with the title <b>"{{ job.title }}"</b> has changed!</p>
<p>It is now <b>{{ job.status }}</b>!</p>
<p>Time of this status update was: <b>{time} UTC</b></p>
<p>You can access your Job/Corpus here: <a href="{{ url_for('jobs.job', job_id=job.id) }}">{{ url_for('jobs.job', job_id=job.id) }}</a></p>
<p>Kind regards!<br>Your nopaque team</p>

View File

@ -0,0 +1,10 @@
Dear {{ user.username }},
The status of your Job/Corpus({{ job.id }}) with the title "{{ job.title }}" has changed!
It is now {{ job.status }}!
Time of this status update was: {time} UTC
You can access your Job/Corpus here: {{ url_for('jobs.job', job_id=job.id) }}
Kind regards!
Your nopaque team