From 427a8c5bf4ad76d024f40aeeaaad9d4848bcced8 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Tue, 12 Jul 2016 09:56:43 +0200 Subject: [PATCH] Display label and location of event on tooltip Think some additionnal info must be show on society too --- htdocs/comm/action/class/actioncomm.class.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index e759e93a635..ad58f612c1c 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -1102,10 +1102,13 @@ class ActionComm extends CommonObject $tooltip = '' . $langs->trans('ShowAction'.$objp->code) . ''; if (! empty($this->ref)) $tooltip .= '
' . $langs->trans('Ref') . ': ' . $this->ref; - if (! empty($this->label)) - $tooltip .= '
' . $langs->trans('Title') . ': ' . $this->label; $label = $this->label; if (empty($label)) $label=$this->libelle; // For backward compatibility + if (! empty($label)) + $tooltip .= '
' . $langs->trans('Title') . ': ' . $label; + if (! empty($this->location)) + $tooltip .= '
' . $langs->trans('Location') . ': ' . $this->location; + $linkclose = '" title="'.dol_escape_htmltag($tooltip, 1).'">'; if ($option=='birthday') $link = '