{% load helpers %}
{% load static %}

<script type="text/javascript">
{% if not result.date_done %}
var job_is_pending = true;
{% else %}
var job_is_pending = false;
{% endif %}
var job_result_id = "{{ result.pk }}";

</script>
<script src="{% versioned_static 'js/job_result.js' %}"
        onerror="window.location='{% url 'media_failure' %}?filename=js/job_result.js'"></script>
