Commit fa9bdb5e authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed logs button of task is not running.

parent 8333470c
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment