X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjob.html;h=d20049d39a6e862ee3aef2f2facc836a96254103;hb=1e5f6a4eb788300f3c71f87a2702a23f670948b8;hp=cb8b687727a0650b06778a27d47ca5062b573448;hpb=b9bcd422c66e0cd9b0f20a0c037dbc2d811bb59f;p=qcg-portal.git diff --git a/qcg/templates/qcg/job.html b/qcg/templates/qcg/job.html index cb8b687..d20049d 100644 --- a/qcg/templates/qcg/job.html +++ b/qcg/templates/qcg/job.html @@ -7,6 +7,20 @@
  • {{ job.job_id }}
  • +
    + {% if not job.terminated %} +
    + {% csrf_token %} + +
    + {% elif not job.purged %} +
    + {% csrf_token %} + +
    + {% endif %} +
    +

    {% block title %}Job {{ job.job_id }}{% endblock %}

    @@ -25,7 +39,7 @@ {% display_attribute 'Status' job.get_status_display %} {% display_attribute 'Notatka' job.note %} {% display_attribute 'Projekt' job.project %} - {% display_attribute 'Czas życia proxy' job.proxy_lifetime %} + {% display_attribute 'Czas życia proxy' job.proxy_lifetime|timeuntil %} {% display_attribute 'Data zlecenia' job.submission_time %} {% display_attribute 'Data zakończenia' job.finish_time %} {% display_attribute 'Usunięty katalog roboczy?' job.purged %} @@ -37,6 +51,7 @@ {% else %} -
    -
    Brak elementów
    -
    +
    Brak elementów
    {% endif %}