From 4ef2f86d4a9275720f3af48fc25bc5fbb735d23e Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a.beckmann@fz-juelich.de>
Date: Tue, 10 May 2022 07:05:52 +0200
Subject: [PATCH] try to display online-only state

---
 create-evaluation-files.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/create-evaluation-files.py b/create-evaluation-files.py
index 00973e5..c3a980e 100644
--- a/create-evaluation-files.py
+++ b/create-evaluation-files.py
@@ -780,6 +780,8 @@ for projID in project_ids:
                         user_data[x]['Email'])
             if user_data[x]['tentative']:
                 _cur_proj_students += "<td>TENTATIVE</td>"
+            if user_data[x]['I am confirming my participation for the selected project'] != "Yes":
+                _cur_proj_students += "<td>online-only</td>"
             _cur_proj_sep = "</tr><tr><td>"
         tmp_row = tmp_row.replace("{{PARTICIPANTS_LIST}}", _cur_proj_students)
     else:
-- 
GitLab