diff --git a/htdocs/core/lib/agenda.lib.php b/htdocs/core/lib/agenda.lib.php
index 0e5e8538c25..ae96f59d407 100644
--- a/htdocs/core/lib/agenda.lib.php
+++ b/htdocs/core/lib/agenda.lib.php
@@ -71,8 +71,9 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
if ($canedit) {
print '
';
+
// Type
- print '';
+ print '';
$multiselect = 0;
if (!empty($conf->global->MAIN_ENABLE_MULTISELECT_TYPE)) { // We use an option here because it adds bugs when used on agenda page "peruser" and "list"
$multiselect = (!empty($conf->global->AGENDA_USE_EVENT_TYPE));
@@ -85,6 +86,7 @@ function print_actions_filter($form, $canedit, $status, $year, $month, $day, $sh
print img_picto($langs->trans("ActionsToDoBy"), 'user', 'class="fawidth30 inline-block"');
print $form->select_dolusers($filtert, 'search_filtert', 1, '', !$canedit, '', '', 0, 0, 0, '', 0, '', 'minwidth150 maxwidth500 widthcentpercentminusxx');
print '
';
+
// Assigned to user group
print '';
print img_picto($langs->trans("ToUserOfGroup"), 'object_group', 'class="fawidth30 inline-block"');
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 915282ed0d8..12857823b80 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -1739,10 +1739,10 @@ function dol_get_fiche_end($notab = 0)
* @param int $shownav Show Condition (navigation is shown if value is 1)
* @param string $fieldid Nom du champ en base a utiliser pour select next et previous (we make the select max and min on this field). Use 'none' for no prev/next search.
* @param string $fieldref Nom du champ objet ref (object->ref) a utiliser pour select next et previous
- * @param string $morehtmlref More html to show after ref
+ * @param string $morehtmlref More html to show after the ref (see $morehtmlleft for before)
* @param string $moreparam More param to add in nav link url.
* @param int $nodbprefix Do not include DB prefix to forge table name
- * @param string $morehtmlleft More html code to show before ref
+ * @param string $morehtmlleft More html code to show before the ref (see $morehtmlref for after)
* @param string $morehtmlstatus More html code to show under navigation arrows
* @param int $onlybanner Put this to 1, if the card will contains only a banner (this add css 'arearefnobottom' on div)
* @param string $morehtmlright More html code to show before navigation arrows
diff --git a/htdocs/core/lib/ticket.lib.php b/htdocs/core/lib/ticket.lib.php
index 43e12c9c490..863131572b9 100644
--- a/htdocs/core/lib/ticket.lib.php
+++ b/htdocs/core/lib/ticket.lib.php
@@ -601,15 +601,15 @@ function show_ticket_messaging($conf, $langs, $db, $filterobj, $objcon = '', $no
$out .= '
';
- //$out.='| ';
$out .= getTitleFieldOfList('Date', 0, $_SERVER["PHP_SELF"], 'a.datep', '', $param, '', $sortfield, $sortorder, '')."\n";
- //$out.=' | ';
$out .= ''.$langs->trans("Search").' : | ';
if ($donetodo) {
$out .= ' | ';
}
- $out .= ''.$langs->trans("Type").' ';
+ $out .= ' | ';
+ $out .= '';
+ //$out .= img_picto($langs->trans("Type"), 'type');
$out .= $formactions->select_type_actions($actioncode, "actioncode", '', empty($conf->global->AGENDA_USE_EVENT_TYPE) ? 1 : -1, 0, 0, 1, 'minwidth200imp');
$out .= ' | ';
$out .= '';
diff --git a/htdocs/langs/en_US/ticket.lang b/htdocs/langs/en_US/ticket.lang
index a039ee1b38b..eea045bdc89 100644
--- a/htdocs/langs/en_US/ticket.lang
+++ b/htdocs/langs/en_US/ticket.lang
@@ -62,7 +62,8 @@ Notify_TICKET_SENTBYMAIL=Send ticket message by email
Read=Read
Assigned=Assigned
InProgress=In progress
-NeedMoreInformation=Waiting for customer feedback
+NeedMoreInformation=Waiting for reporter feedback
+NeedMoreInformationShort=Waiting for feedback
Answered=Answered
Waiting=Waiting
Closed=Closed
@@ -212,6 +213,7 @@ TicketMessageHelp=Only this text will be saved in the message list on ticket car
TicketMessageSubstitutionReplacedByGenericValues=Substitutions variables are replaced by generic values.
TimeElapsedSince=Time elapsed since
TicketTimeToRead=Time elapsed before read
+TicketTimeElapsedBeforeSince=Time elapsed before / since
TicketContacts=Contacts ticket
TicketDocumentsLinked=Documents linked to ticket
ConfirmReOpenTicket=Confirm reopen this ticket ?
diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php
index 1831a4078c5..5aeed2c4587 100644
--- a/htdocs/ticket/card.php
+++ b/htdocs/ticket/card.php
@@ -874,10 +874,11 @@ if ($action == 'create' || $action == 'presend') {
$langs->load("users");
$fuser = new User($db);
$fuser->fetch($object->fk_user_create);
- $morehtmlref .= $fuser->getNomUrl(0);
+ $morehtmlref .= $fuser->getNomUrl(-1);
}
if (!empty($object->origin_email)) {
$morehtmlref .= ' '.$langs->trans("CreatedBy").' : ';
+ $morehtmlref .= img_picto('', 'email', 'class="paddingrightonly"');
$morehtmlref .= dol_escape_htmltag($object->origin_email).' ('.$langs->trans("TicketEmailOriginIssuer").')';
}
@@ -968,8 +969,8 @@ if ($action == 'create' || $action == 'presend') {
print ' |
| '.$langs->trans("TicketReadOn").' | ';
if (!empty($object->date_read)) {
print dol_print_date($object->date_read, 'dayhour', 'tzuser');
- print ' - '.$langs->trans("TicketTimeToRead").': '.convertSecondToTime(roundUpToNextMultiple($object->date_read - $object->datec, 60)).'';
- print ' - '.$langs->trans("TimeElapsedSince").': '.convertSecondToTime(roundUpToNextMultiple($now - $object->date_read, 60)).'';
+ print ' - '.$langs->trans("TicketTimeElapsedBeforeSince").': '.convertSecondToTime(roundUpToNextMultiple($object->date_read - $object->datec, 60)).'';
+ print ' / '.convertSecondToTime(roundUpToNextMultiple($now - $object->date_read, 60)).'';
}
print ' |
';
@@ -991,7 +992,7 @@ if ($action == 'create' || $action == 'presend') {
print '
';
if ($object->fk_user_assign > 0) {
$userstat->fetch($object->fk_user_assign);
- print $userstat->getNomUrl(1);
+ print $userstat->getNomUrl(-1);
}
// Show user list to assignate one if status is "read"
@@ -1183,7 +1184,7 @@ if ($action == 'create' || $action == 'presend') {
if ($tab[$i]['socid'] > 0) {
$companystatic->fetch($tab[$i]['socid']);
- echo $companystatic->getNomUrl(1);
+ echo $companystatic->getNomUrl(-1);
}
if ($tab[$i]['socid'] < 0) {
echo $conf->global->MAIN_INFO_SOCIETE_NOM;
@@ -1196,12 +1197,12 @@ if ($action == 'create' || $action == 'presend') {
print ' ';
if ($tab[$i]['source'] == 'internal') {
if ($userstatic->fetch($tab[$i]['id'])) {
- print $userstatic->getNomUrl(1);
+ print $userstatic->getNomUrl(-1);
}
}
if ($tab[$i]['source'] == 'external') {
if ($contactstatic->fetch($tab[$i]['id'])) {
- print $contactstatic->getNomUrl(1);
+ print $contactstatic->getNomUrl(-1);
}
}
print '
diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php
index 42b04640def..89f239db6c6 100644
--- a/htdocs/ticket/class/ticket.class.php
+++ b/htdocs/ticket/class/ticket.class.php
@@ -294,7 +294,7 @@ class Ticket extends CommonObject
self::STATUS_ASSIGNED => 'Assigned',
self::STATUS_IN_PROGRESS => 'InProgress',
self::STATUS_WAITING => 'OnHold',
- self::STATUS_NEED_MORE_INFO => 'NeedMoreInformation',
+ self::STATUS_NEED_MORE_INFO => 'NeedMoreInformationShort',
self::STATUS_CLOSED => 'Closed',
self::STATUS_CANCELED => 'Canceled'
);
|