From: Maciej Tronowski Date: Wed, 29 Apr 2015 14:34:38 +0000 (+0200) Subject: jobs list: present info when job/task is not purged X-Git-Tag: v1.0~27 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=6319c84243365f77163e92643a98706704612863;p=qcg-portal.git jobs list: present info when job/task is not purged --- diff --git a/qcg/templates/qcg/jobs.html b/qcg/templates/qcg/jobs.html index 7120826..c2e1480 100644 --- a/qcg/templates/qcg/jobs.html +++ b/qcg/templates/qcg/jobs.html @@ -180,6 +180,11 @@ {% if columns.JOB_ID in displayed %}{{ task }}{% endif %} + {% if not task.purged %} + + + + {% endif %} {% if columns.DESCRIPTION in displayed %}{{ task.note }}{% endif %} {% if columns.SUBMISSION in displayed %}{{ task.submission_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %} @@ -197,6 +202,9 @@ {% if columns.JOB_ID in displayed %}{{ job.grouper }}{% endif %} + {% if not job.grouper.purged %} + + {% endif %} {% if columns.DESCRIPTION in displayed %}{{ job.grouper.note }}{% endif %} {% if columns.SUBMISSION in displayed %}{{ job.grouper.submission_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %} @@ -214,6 +222,9 @@ {% if columns.JOB_ID in displayed %}{{ task }}{% endif %} + {% if not task.purged %} + + {% endif %} {% if columns.DESCRIPTION in displayed %}{{ task.note }}{% endif %} {% if columns.SUBMISSION in displayed %}{{ task.submission_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %}