X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=1d83d66bb40b6a2541565830586c0ef68e0017e0;hb=1e5f6a4eb788300f3c71f87a2702a23f670948b8;hp=e9b85ad2fda3885f350b0bdcde824dbbef6f6a21;hpb=d117a4ff9ac0e7fb8c01ed1c8cb2a3311c97a1f9;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index e9b85ad..1d83d66 100644 --- a/qcg/templates/qcg/task.html +++ b/qcg/templates/qcg/task.html @@ -24,6 +24,20 @@
  • {{ task.task_id }}
  • +
    + {% if not task.terminated %} +
    + {% csrf_token %} + +
    + {% elif not task.purged %} +
    + {% csrf_token %} + +
    + {% endif %} +
    +

    {% block title %}Task {{ task.task_id }}{% endblock %}

    @@ -76,7 +90,7 @@ {% display_attribute 'Katalog roboczy' alloc.working_directory %} {% display_attribute 'Usunięty katalog roboczy?' task.purged %} - {% if alloc.working_directory %} + {% if alloc.working_directory and not task.purged %} -