Skip to content
Snippets Groups Projects
Commit 952a88af authored by Nico Vermaas's avatar Nico Vermaas
Browse files

disable 'resume' button when paused on 'processed'

parent 7a8d5e75
No related branches found
No related tags found
1 merge request!350SDC-1313 ancillary dataproducts to dcache (ATDB side)
Pipeline #78866 passed
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
{% if user.is_authenticated %} {% if user.is_authenticated %}
{% if not task.status == 'processed' %}
{% if task.resume %} {% if task.resume %}
<a href="{% url 'task-hold-resume' task.pk 'hold' my_tasks.number %}" class="btn btn-warning btn-sm" role="button"><i class="fas fa-pause"></i> hold</a> <a href="{% url 'task-hold-resume' task.pk 'hold' my_tasks.number %}" class="btn btn-warning btn-sm" role="button"><i class="fas fa-pause"></i> hold</a>
{% endif %} {% endif %}
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
{% if not task.resume %} {% if not task.resume %}
<a href="{% url 'task-hold-resume' task.pk 'resume' my_tasks.number %}" class="btn btn-success btn-sm" role="button"><i class="fas fa-play"></i> start</a> <a href="{% url 'task-hold-resume' task.pk 'resume' my_tasks.number %}" class="btn btn-success btn-sm" role="button"><i class="fas fa-play"></i> start</a>
{% endif %} {% endif %}
{% endif %}
{% endif %} {% endif %}
{% include "taskdatabase/failures/retry_buttons.html" %} {% include "taskdatabase/failures/retry_buttons.html" %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment