[evolvis-commits] r17214: merge bm:taramir51/patches/theme-evolvis

mirabilos at evolvis.org mirabilos at evolvis.org
Thu May 12 18:17:47 CEST 2011


Author: mirabilos
Date: 2011-05-12 18:17:47 +0200 (Thu, 12 May 2011)
New Revision: 17214

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/include/features_boxes.php
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
Log:
merge bm:taramir51/patches/theme-evolvis

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/include/features_boxes.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/include/features_boxes.php	2011-05-12 16:17:42 UTC (rev 17213)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/include/features_boxes.php	2011-05-12 16:17:47 UTC (rev 17214)
@@ -101,7 +101,7 @@
 			$t_prj_link = util_make_link_g ($row_topdown['unix_group_name'], $row_topdown['group_id'], $row_topdown['group_name']);
 		
 			$return .= '<tr>';
-			$return .= '<td class="width-stat-col1">' . $t_downloads . '</td>';
+			$return .= '<td class="width-stat-col1">(' . $t_downloads . ')</td>';
 			$return .= '<td>' . $t_prj_link . '</td>';
 			$return .= '</tr>';
 			$count++ ;
@@ -198,7 +198,7 @@
 		$t_prj_link = util_make_link_g ($row_newproj['unix_group_name'],$row_newproj['group_id'],$row_newproj['group_name']);
 		
 		$return .= "<tr>";
-		$return .= '<td class="width-stat-col1">' . $t_prj_date . "</td>";
+		$return .= '<td class="width-stat-col1">(' . $t_prj_date . ")</td>";
 		$return .= '<td>' . $t_prj_link . '</td>';
 		$return .= "</tr>\n";
 	}
@@ -224,7 +224,7 @@
 	} else {
 		$return = '';
 		for ($i=0; $i<$rows; $i++) {
-			$return .= ($i+1).' - ('. number_format(db_result($res,$i,'metric'),4) .') '
+			$return .= '#' . ($i+1) . ' - ('. number_format(db_result($res,$i,'metric'),4) .') '
 			. util_make_link_u (db_result($res,$i,'user_name'),db_result($res,$i,'user_id'),db_result($res,$i,'realname'))
 			.'<br />';
 		}
@@ -247,7 +247,7 @@
 		$t_prj_link = util_make_link_g ($row['unix_group_name'],$row['group_id'],$row['group_name']);
 		
 		$return .= "<tr>";
-		$return .= '<td class="width-stat-col1">'. $t_prj_activity . "</td>";
+		$return .= '<td class="width-stat-col1">('. $t_prj_activity . ")</td>";
 		$return .= '<td>' . $t_prj_link . '</td>';
 		$return .= "</tr>\n";
 		

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php	2011-05-12 16:17:42 UTC (rev 17213)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php	2011-05-12 16:17:47 UTC (rev 17214)
@@ -243,6 +243,7 @@
 		require_once('www/news/news_utils.php');
 		require_once('www/include/trove.php');
 		require_once('www/include/project_summary.php');
+		require_once($gfcommon.'/pm/ProjectTaskSqlQueries.php');
 		$project =$this->project;
 		echo $this->searchBox(0);
 		echo '<br />';
@@ -377,6 +378,12 @@
 			}
 		}
 
+		// ######################## minimum unique ID
+
+		print "\n<hr size=\"1\" />\n";
+		printf(_('Minimum Unique Task/Tracker Item ID: %d') . "\n",
+		    tasktracker_getminid());
+
 		// ######################## (end)
 
 		echo $this->boxBottom();



More information about the evolvis-commits mailing list