From fa9a4a5ccf37589633894366b89ae3f727829eb8 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Thu, 23 Nov 2023 13:50:22 +0100
Subject: [PATCH] accept: update phase header

---
 public_html/deployment/classes/project_gui.class.php | 11 ++++++-----
 public_html/deployment/pages/act_accept.php          |  4 ++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/public_html/deployment/classes/project_gui.class.php b/public_html/deployment/classes/project_gui.class.php
index 01ffe0ba..cf609ad8 100644
--- a/public_html/deployment/classes/project_gui.class.php
+++ b/public_html/deployment/classes/project_gui.class.php
@@ -72,7 +72,7 @@ class projectgui extends project {
         } else {
             $sColor = "color: #888; background: #ccc;";
         }
-        return '<div style="' . $sColor . '; border-top: 3px solid; ">'.($sContent ? $sContent : ' ').'</div>';
+        return '<div style="' . $sColor . ' border-top: 3px solid;">'.($sContent ? $sContent : ' ').'</div>';
     }
 
 
@@ -535,10 +535,11 @@ class projectgui extends project {
                 }
 
                 $sReturn.=' ' . $this->renderInfoLink(
-                                $aData, array(
-                            'title' => $this->getLabel() . " :: $sPhase :: $sPlace",
-                            'more' => $sMore,
-                                )
+                                $aData, 
+                                [
+                                    'title' => $this->getLabel() . " :: $sPhase :: $sPlace",
+                                    'more' => $sMore,
+                                ]
                 );
             }
 
diff --git a/public_html/deployment/pages/act_accept.php b/public_html/deployment/pages/act_accept.php
index 67923a16..e3d0ef9e 100644
--- a/public_html/deployment/pages/act_accept.php
+++ b/public_html/deployment/pages/act_accept.php
@@ -50,9 +50,9 @@ if (array_key_exists("confirm", $aParams)) {
                    <table>
                     <thead>
                         <tr>
-                            <th class="' . $sPhase . '">' . $sPhase . '</th>
+                            <th class="' . $sPhase . ' tdphase">' . $sPhase . '</th>
                             <th> </th>
-                            <th class="' . $sNext . '" colspan="2">' . $sNext . '</th>
+                            <th class="' . $sNext . ' tdphase" colspan="2">' . $sNext . '</th>
                         </tr>
                     </thead>
                     <tbody>
-- 
GitLab