provide estimates, format dates better

This commit is contained in:
2021-09-16 19:20:43 +10:00
parent 5db1cf9e32
commit c59e23efda
3 changed files with 15 additions and 5 deletions

View File

@@ -23,9 +23,9 @@
{% endif %}
{% if job.state == "Withdrawn" %}
row+= '</td><td>{{job.start_time}}</i></td><td>'
row+= '</td><td>{{job.start_time|vicdate}}</i></td><td>'
{% else %}
row+= '</td><td>{{job.start_time}}</td><td>'
row+= '</td><td>{{job.start_time|vicdate}}</td><td>'
{% endif %}
{% if job.pa_job_state != "Completed" %}
{% if job.num_files and job.num_files > 0 %}
@@ -43,7 +43,7 @@
{% endif %}
active_rows.push(row)
{% else %}
row += '{{job.last_update}}</td></td></tr>'
row += '{{job.last_update|vicdate}}</td></td></tr>'
completed_rows.push(row)
{% endif %}
{% endfor %}