Project leader is a link to its card on project card.
This commit is contained in:
parent
5cf2356bcb
commit
4aa465eac4
@ -224,7 +224,10 @@ else
|
|||||||
}
|
}
|
||||||
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%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
@ -243,7 +246,10 @@ else
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Project leader
|
// 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 ' ';
|
||||||
|
print '</td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user