From f7a94f0b7d4f49449d0794b5946cc2a87de811d9 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 20 Jan 2021 21:49:04 +1100 Subject: [PATCH] allow job log to have links embedded, and label num files when N/A better --- templates/joblog.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 %}