From a699a1f0591261fb6e16b15e72722d9beb86911f Mon Sep 17 00:00:00 2001
From: vermaas <vermaas@astron.nl>
Date: Thu, 8 Dec 2022 16:05:22 +0100
Subject: [PATCH] layout deleted/added on separate lines

---
 atdb/taskdatabase/services/algorithms.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/atdb/taskdatabase/services/algorithms.py b/atdb/taskdatabase/services/algorithms.py
index 512ec854..ec93aaf8 100644
--- a/atdb/taskdatabase/services/algorithms.py
+++ b/atdb/taskdatabase/services/algorithms.py
@@ -771,8 +771,7 @@ def construct_summary(task):
                     line += '<th>Added</th>'
                     line += '<tr><td colspan="3">'
                     for filename in to_add:
-                        line += filename + '\n'
-                    line += '</td></tr>'
+                        line += '<tr><td colspan="3">' + filename + '<td</tr>'
             except:
                 pass
 
@@ -780,10 +779,9 @@ def construct_summary(task):
                 to_delete = record['deleted']
                 if to_delete:
                     line += '<th>Deleted</th>'
-                    line += '<tr><td colspan="3">'
                     for filename in to_delete:
-                        line += filename + '\n'
-                    line += '</td></tr>'
+                        line += '<tr><td colspan="3">' +filename + '<td</tr>'
+
             except:
                 pass
 
-- 
GitLab