Conflict management
This commit is contained in:
parent
7f73464ecc
commit
9f4690eedd
@ -170,11 +170,11 @@ function show_contacts_projects($conf, $langs, $db, $object, $backtopage = '', $
|
|||||||
|
|
||||||
$i = -1;
|
$i = -1;
|
||||||
|
|
||||||
if (!empty($conf->project->enabled) && $user->rights->projet->lire) {
|
if (!empty($conf->projet->enabled) && $user->rights->projet->lire) {
|
||||||
$langs->load("projects");
|
$langs->load("projects");
|
||||||
|
|
||||||
$newcardbutton = '';
|
$newcardbutton = '';
|
||||||
if (!empty($conf->project->enabled) && $user->rights->projet->creer && empty($nocreatelink)) {
|
if (!empty($conf->projet->enabled) && $user->rights->projet->creer && empty($nocreatelink)) {
|
||||||
$newcardbutton .= dolGetButtonTitle($langs->trans('AddProject'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/projet/card.php?socid='.$object->id.'&action=create&backtopage='.urlencode($backtopage));
|
$newcardbutton .= dolGetButtonTitle($langs->trans('AddProject'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/projet/card.php?socid='.$object->id.'&action=create&backtopage='.urlencode($backtopage));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user