Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
show jobs when failed queue available
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernest Feret committed Jul 1, 2020
1 parent c41ed2f commit 440e10d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion rq_mantis/templates/queue.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,19 @@ <h1>Running jobs</h1>
</div>
{% endfor %}
</div>

{% elif running_jobs %}
<h1>Running jobs</h1>
{% for job_id in running_jobs %}
<div class="queue-job-part">
<table class="table">
<tbody>
<tr>
<td>{{ job_id }}</td>
</tr>
</tbody>
</table>
</div>
{% endfor %}
{% else %}
<p>No jobs in queue</p>
{% endif %}
Expand Down

0 comments on commit 440e10d

Please sign in to comment.