Merge pull request #10213 from inoveaconseil/patch-5

NEW: Add note in tooltips
This commit is contained in:
Laurent Destailleur 2018-12-13 20:06:13 +01:00 committed by GitHub
commit 210c937725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1292,7 +1292,8 @@ class ActionComm extends CommonObject
$tooltip .= '<br><b>' . $langs->trans('Type') . ':</b> ' . $labeltype;
if (! empty($this->location))
$tooltip .= '<br><b>' . $langs->trans('Location') . ':</b> ' . $this->location;
if (! empty($this->note))
$tooltip .= '<br><b>' . $langs->trans('Note') . ':</b> ' . $this->note;
$linkclose='';
if (! empty($conf->global->AGENDA_USE_EVENT_TYPE) && $this->type_color)
$linkclose = ' style="background-color:#'.$this->type_color.'"';