diff --git a/projects/tentacles/src/python/tentacles/templates/jobs_history.html.j2 b/projects/tentacles/src/python/tentacles/templates/jobs_history.html.j2 index 30060fe..cadc3c4 100644 --- a/projects/tentacles/src/python/tentacles/templates/jobs_history.html.j2 +++ b/projects/tentacles/src/python/tentacles/templates/jobs_history.html.j2 @@ -20,10 +20,12 @@ {{ctx.db.fetch_file(ctx.uid, job.file_id).filename or "it's a secret"}} + {% if job.finished_at and job.started_at %}
{{ (datetime.fromisoformat(job.finished_at) - datetime.fromisoformat(job.started_at)) }}
+ {% endif %}
{% if ctx.uid %}