diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index e098cbf3178..da74cf6dbda 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -626,11 +626,11 @@ class Form
$extrastyle = '';
if ($direction < 0) {
$extracss = ($extracss ? $extracss.' ' : '').($notabs != 3 ? 'inline-block' : '');
- $extrastyle = 'padding: 0px; padding-left: 3px !important;';
+ $extrastyle = 'padding: 0px; paddingleft;';
}
if ($direction > 0) {
$extracss = ($extracss ? $extracss.' ' : '').($notabs != 3 ? 'inline-block' : '');
- $extrastyle = 'padding: 0px; padding-right: 3px !important;';
+ $extrastyle = 'padding: 0px; paddingright;';
}
$classfortooltip = 'classfortooltip';
diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php
index 841f810e5ec..df46ff8e77c 100755
--- a/htdocs/ticket/card.php
+++ b/htdocs/ticket/card.php
@@ -943,11 +943,14 @@ if ($action == 'create' || $action == 'presend') {
} elseif (!empty($object->email_msgid)) {
$morehtmlref .= '
'.$langs->trans("CreatedBy").' : ';
$morehtmlref .= img_picto('', 'email', 'class="paddingrightonly"');
- $morehtmlref .= dol_escape_htmltag($object->origin_email).' ('.$form->textwithpicto($langs->trans("CreatedByEmailCollector"), $langs->trans("EmailMsgID").': '.$object->email_msgid).')';
+ $htmltooltip = $langs->trans("EmailMsgID").': '.$object->email_msgid;
+ $htmltooltip .= '
'.$langs->trans("EmailDate").': '.dol_print_date($object->email_date, 'dayhour');
+ $morehtmlref .= dol_escape_htmltag($object->origin_email).' - '.$form->textwithpicto($langs->trans("CreatedByEmailCollector"), $htmltooltip, 1, 'help', '', 0, 3, 'tooltip').'';
} elseif (!empty($object->origin_email)) {
$morehtmlref .= '
'.$langs->trans("CreatedBy").' : ';
$morehtmlref .= img_picto('', 'email', 'class="paddingrightonly"');
- $morehtmlref .= dol_escape_htmltag($object->origin_email).' ('.$langs->trans("CreatedByPublicPortal").')';
+ $htmltooptip = $langs->trans("IP").': '.$object->ip;
+ $morehtmlref .= dol_escape_htmltag($object->origin_email).' - '.$form->textwithpicto($langs->trans("CreatedByPublicPortal"), $htmltooptip, 1, 'help', '', 0, 3, 'tooltip').'';
}
// Thirdparty
@@ -1071,7 +1074,7 @@ if ($action == 'create' || $action == 'presend') {
print '
| '; print $langs->trans("AssignedTo"); if (isset($object->status) && $object->status < $object::STATUS_CLOSED && GETPOST('set', 'alpha') != "assign_ticket" && $user->rights->ticket->manage) { - print ' | '.img_edit($langs->trans('Modify'), '').''; + print ' | '.img_edit($langs->trans('Modify'), '').''; } print ' |