Tooltip of actioncomm show empty ref
This commit is contained in:
parent
39d0c15c15
commit
9ee6fdd163
@ -970,7 +970,10 @@ class ActionComm extends CommonObject
|
|||||||
|
|
||||||
$result='';
|
$result='';
|
||||||
$tooltip = '<u>' . $langs->trans('ShowAction'.$objp->code) . '</u>';
|
$tooltip = '<u>' . $langs->trans('ShowAction'.$objp->code) . '</u>';
|
||||||
|
if (! empty($this->ref))
|
||||||
$tooltip .= '<br><b>' . $langs->trans('Ref') . ':</b> ' . $this->label;
|
$tooltip .= '<br><b>' . $langs->trans('Ref') . ':</b> ' . $this->label;
|
||||||
|
if (! empty($this->label))
|
||||||
|
$tooltip .= '<br><b>' . $langs->trans('Title') . ':</b> ' . $this->label;
|
||||||
$label = $this->label;
|
$label = $this->label;
|
||||||
if (empty($label)) $label=$this->libelle; // For backward compatibility
|
if (empty($label)) $label=$this->libelle; // For backward compatibility
|
||||||
$linkclose = '" title="'.dol_escape_htmltag($tooltip, 1).'" class="classfortooltip">';
|
$linkclose = '" title="'.dol_escape_htmltag($tooltip, 1).'" class="classfortooltip">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user