[Fusionforge-commits] r6839 - trunk/gforge/www/tracker

Roland Mas lolando at libremir.placard.fr.eu.org
Sat Jan 31 11:08:29 CET 2009


Author: lolando
Date: 2009-01-31 11:08:29 +0100 (Sat, 31 Jan 2009)
New Revision: 6839

Modified:
   trunk/gforge/www/tracker/detail.php
Log:
Fixed display of artifact submitter in the item details when browsing anonymously

Modified: trunk/gforge/www/tracker/detail.php
===================================================================
--- trunk/gforge/www/tracker/detail.php	2009-01-31 10:03:59 UTC (rev 6838)
+++ trunk/gforge/www/tracker/detail.php	2009-01-31 10:08:29 UTC (rev 6839)
@@ -52,7 +52,15 @@
 			<td></td>
 		</tr>
 		<tr>
-			<td><strong><?php echo _('Submitted by') ?>:</strong><br />
+	                <td>
+			<strong><?php echo _('Submitted by') ?>:</strong><br />
+			<?php echo $ah->getSubmittedRealName();
+			if($ah->getSubmittedBy() != 100) {
+				$submittedUnixName = $ah->getSubmittedUnixName();
+				$submittedBy = $ah->getSubmittedBy();
+				?>
+				(<tt><?php echo util_make_link_u ($submittedUnixName,$submittedBy,$submittedUnixName); ?></tt>)
+			<?php } ?>
 			</td>
 			<td><strong><?php echo _('Assigned to') ?>:</strong><br />
 			<?php echo $ah->getAssignedRealName(); ?> (<?php echo $ah->getAssignedUnixName(); ?>)</td>




More information about the Fusionforge-commits mailing list