Skip to content
Snippets Groups Projects
Commit fa9bdb5e authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed logs button of task is not running.

parent 8333470c
No related branches found
No related tags found
No related merge requests found
......@@ -68,10 +68,10 @@
{% endif %}
<!-- View log -->
{% if task.status == "created" %}
<a href="" class="btn btn-disabled">Logs</a>
{% if task.status == "running" %}
<a href="/task_log/?uuid={{task.uuid}}&action=viewlog" class="btn btn-action">Logs</a>
{% else %}
<a href="/task_log/?uuid={{task.uuid}}&action=viewlog" class="btn btn-action">Logs</a>
<a href="" class="btn btn-disabled">Logs</a>
{% endif %}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment