X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=1d83d66bb40b6a2541565830586c0ef68e0017e0;hb=1e5f6a4eb788300f3c71f87a2702a23f670948b8;hp=396b29e429025dc4f626a52dd800144a786be28f;hpb=f39849b03fbe8d6b5db0894dafc5010f5eab4f3f;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index 396b29e..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 %}