[Fusionforge-commits] r6806 - trunk/gforge/common/pm

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Jan 29 20:10:59 CET 2009


Author: lolando
Date: 2009-01-29 20:10:59 +0100 (Thu, 29 Jan 2009)
New Revision: 6806

Modified:
   trunk/gforge/common/pm/ProjectTask.class.php
Log:
Mention project as well as task-id when mailing out reminders (ported from my gforge/patches/inria/misc-email-enhancements branch)

Modified: trunk/gforge/common/pm/ProjectTask.class.php
===================================================================
--- trunk/gforge/common/pm/ProjectTask.class.php	2009-01-29 19:10:52 UTC (rev 6805)
+++ trunk/gforge/common/pm/ProjectTask.class.php	2009-01-29 19:10:59 UTC (rev 6806)
@@ -1121,7 +1121,10 @@
 					      "&group_id=".$this->ProjectGroup->Group->getID().
 					      "&group_project_id=".$this->ProjectGroup->getID());
 
-		$subject="[Task #". $this->getID() .'] '.
+		$subject=sprintf (_('[%1$s - %2$s] [Task #%3$d] '),
+				  $this->ProjectGroup->Group->getUnixName(),
+				  $this->ProjectGroup->getName(),
+				  $this->getID()) .
 			util_unconvert_htmlspecialchars( $this->getSummary() );
 
 		util_handle_message(array_unique($ids),$subject,$body,$this->ProjectGroup->getSendAllPostsTo());




More information about the Fusionforge-commits mailing list