This commit is contained in:
Laurent Destailleur 2019-10-08 15:40:07 +02:00
parent ef91e0bff3
commit 37795b1955
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ TicketViewNonClosedOnly=View only open tickets
TicketStatByStatus=Tickets by status
OrderByDateAsc=Sort by ascending date
OrderByDateDesc=Sort by descending date
MessagingViewType=Show as messaging list
ShowAsConversation=Show as conversation list
MessageListViewType=Show as table list
#

View File

@ -235,7 +235,7 @@ if (!empty($object->id))
$morehtmlright = '';
$messagingUrl = DOL_URL_ROOT.'/ticket/messaging.php?track_id=' . $object->track_id;
$morehtmlright .= dolGetButtonTitle($langs->trans('MessagingViewType'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 1);
$morehtmlright .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 1);
// Show link to add a message (if read and not closed)
$btnstatus = $object->fk_statut < Ticket::STATUS_CLOSED && $action != "presend" && $action != "presend_addmessage";