load stream js scripts on pending state
This commit is contained in:
parent
d24e42ec8e
commit
84f436817b
@ -12,7 +12,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block headscript %}
|
||||
{% if deployment.status == "RUNNING" %}
|
||||
{% if deployment.status == "RUNNING" or deployment.status == "PENDING" %}
|
||||
<script src="{% static 'django_eventstream/json2.js' %}"></script>
|
||||
<script src="{% static 'django_eventstream/eventsource.min.js' %}"></script>
|
||||
<script src="{% static 'django_eventstream/reconnecting-eventsource.js' %}"></script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user