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

add link to slurm job in details screen

parent c48e5043
Branches
Tags
1 merge request!288SDCH-3881: fix 'archived' page, renamed to 'finished'
Pipeline #46793 passed
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{% include 'taskdatabase/pagination.html' %} {% include 'taskdatabase/pagination.html' %}
</div> </div>
</div> </div>
<p class="footer"> Version 31 March 2023 <p class="footer"> Version 3 April 2023
</div> </div>
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
<table class="table table-striped"> <table class="table table-striped">
<tbody> <tbody>
<tr><td><b>id</b></td><td><a href="{% url 'task-detail-view-api' task.pk %}" target="_blank">{{ task.id }} </a></td></tr> <tr><td><b>id</b></td><td><a href="{% url 'task-detail-view-api' task.pk %}" target="_blank">{{ task.id }} </a></td></tr>
<tr><td><b>slurm jobs</b></td><td><a href="{% url 'job-list-view-api' %}?task_id={{ task.id }}" {{ task.id }} target="_blank">{{ task.id }} </a></td></tr>
<tr><td><b>priority</b></td><td> <tr><td><b>priority</b></td><td>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<a href="{% url 'task-change-priority' task.pk '-10' %}" class="btn btn-warning btn-sm" role="button">-10</a> <a href="{% url 'task-change-priority' task.pk '-10' %}" class="btn btn-warning btn-sm" role="button">-10</a>
...@@ -52,6 +54,7 @@ ...@@ -52,6 +54,7 @@
><i class="fas fa-balance-scale-right"></i> Quality ><i class="fas fa-balance-scale-right"></i> Quality
</a>&nbsp; </a>&nbsp;
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
<tr><td><b>filter</b></td><td>{{ task.filter }}</td></tr> <tr><td><b>filter</b></td><td>{{ task.filter }}</td></tr>
......
...@@ -68,7 +68,7 @@ urlpatterns = [ ...@@ -68,7 +68,7 @@ urlpatterns = [
path('configuration/', views.ConfigurationListViewAPI.as_view()), path('configuration/', views.ConfigurationListViewAPI.as_view()),
path('configuration/<int:pk>/', views.ConfigurationDetailsViewAPI.as_view(), name='configuration-detail-view-api'), path('configuration/<int:pk>/', views.ConfigurationDetailsViewAPI.as_view(), name='configuration-detail-view-api'),
path('jobs/', views.JobListViewAPI.as_view()), path('jobs/', views.JobListViewAPI.as_view(), name='job-list-view-api'),
path('jobs/<int:pk>/', views.JobDetailsViewAPI.as_view(), name='job-detail-view-api'), path('jobs/<int:pk>/', views.JobDetailsViewAPI.as_view(), name='job-detail-view-api'),
path('postprocessing/', views.PostProcessingRuleListViewAPI.as_view()), path('postprocessing/', views.PostProcessingRuleListViewAPI.as_view()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment