Project leader is a link to its card on project card.

This commit is contained in:
Laurent Destailleur 2009-01-12 20:29:35 +00:00
parent 5cf2356bcb
commit 4aa465eac4

View File

@ -224,7 +224,10 @@ else
}
else
{
$projet->fetch_user($projet->user_resp_id);
if ($projet->user_resp_id > 0)
{
$result=$projet->fetch_user($projet->user_resp_id);
}
print '<table class="border" width="100%">';
@ -243,7 +246,10 @@ else
print '</td></tr>';
// Project leader
print '<tr><td>'.$langs->trans("OfficerProject").'</td><td>'.$projet->user->fullname.'</td></tr>';
print '<tr><td>'.$langs->trans("OfficerProject").'</td><td>';
if ($projet->user->id) print $projet->user->getNomUrl(1);
else print '&nbsp;';
print '</td></tr>';
print '</table>';
}