diff --git a/templates/joblog.html b/templates/joblog.html index 80abeaf..b9859a3 100644 --- a/templates/joblog.html +++ b/templates/joblog.html @@ -37,17 +37,17 @@ +
+ {% if job.num_files and job.num_files > 0 %} -
- -
- {% set prog=(job.current_file_num/job.num_files*100)|round|int %} -
-
{{job.current_file_num}} of {{job.num_files}} - {{prog}}%
-
- {% else %} - N/A - {% endif %} +
+ {% set prog=(job.current_file_num/job.num_files*100)|round|int %} +
+
{{job.current_file_num}} of {{job.num_files}} - {{prog}}%
+
+ {% else %} + + {% endif %}
@@ -55,7 +55,7 @@ WhenDetails {% for log in logs %} - {{log.log_date|vicdate}}{{log.log}} + {{log.log_date|vicdate}}{{log.log|safe}} {% endfor %}