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

    @@ -31,7 +45,6 @@ @@ -76,7 +89,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 %}