diff --git a/templates/query_list.html b/templates/query_list.html index 3049df1..7d7918e 100644 --- a/templates/query_list.html +++ b/templates/query_list.html @@ -22,19 +22,19 @@
options
{% for obj in q %} - {% if obj.status_code != 200 %}{% set class=" text-light bg-danger"%}{% endif %} + {% if obj.status_code and obj.status_code != 200 %}{% set class=" text-light bg-danger"%}{% endif %}
- {% if obj.end_time %} - {{ obj.start_time.strftime('%Y %b %d %H:%M') }} - {% else %} - running - {% endif %} + {{ obj.start_time.strftime('%Y %b %d %H:%M') }}
{{ obj.path }}
- {{ obj.display_seconds }} secs + {% if obj.end_time %} + {{ obj.display_seconds }} secs + {% else %} + running + {% endif %}