[Fusionforge-commits] r9748 - trunk/plugins/coclico/hudson/include

Mélanie Le Bail melanelebail at libremir.placard.fr.eu.org
Mon May 17 17:10:52 CEST 2010


Author: melanelebail
Date: 2010-05-17 17:10:52 +0200 (Mon, 17 May 2010)
New Revision: 9748

Modified:
   trunk/plugins/coclico/hudson/include/hudson_Widget_ProjectJobsOverview.class.php
Log:
Update hudson project widget


Modified: trunk/plugins/coclico/hudson/include/hudson_Widget_ProjectJobsOverview.class.php
===================================================================
--- trunk/plugins/coclico/hudson/include/hudson_Widget_ProjectJobsOverview.class.php	2010-05-17 13:01:02 UTC (rev 9747)
+++ trunk/plugins/coclico/hudson/include/hudson_Widget_ProjectJobsOverview.class.php	2010-05-17 15:10:52 UTC (rev 9748)
@@ -92,9 +92,15 @@
             $cpt = 1;
             
             foreach ($jobs as $job_id => $job) {
+		if ($cpt % 2 == 0) {
+                        $class="boxitemalt bgcolor-white";
+                } else {
+                        $class="boxitem bgcolor-grey";
+                }
+
                 try {
                     
-                    $html .= '<tr class="'. util_get_alt_row_color($cpt) .'">';
+                    $html .= '<tr class="'. $class .'">';
                     $html .= ' <td>';
                     $html .= ' <img src="'.$job->getStatusIcon().'" title="'.$job->getStatus().'" >';
                     $html .= ' </td>';




More information about the Fusionforge-commits mailing list