mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-20 21:10:36 +00:00
Simplify daemon logic
This commit is contained in:
9
web/app/templates/tasks/email/notification.html.j2
Normal file
9
web/app/templates/tasks/email/notification.html.j2
Normal 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>
|
10
web/app/templates/tasks/email/notification.txt.j2
Normal file
10
web/app/templates/tasks/email/notification.txt.j2
Normal 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
|
Reference in New Issue
Block a user