Fix bad link

This commit is contained in:
Laurent Destailleur 2023-02-10 12:58:49 +01:00
parent 3e7879c886
commit 02475369e6
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ if (!empty($object->id)) {
$morehtmlcenter .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 1);
// Show link to change view in agenda
$messagingUrl = DOL_URL_ROOT.'/projet/info.php?id='.$object->id;
$messagingUrl = DOL_URL_ROOT.'/projet/agenda.php?id='.$object->id;
$morehtmlcenter .= dolGetButtonTitle($langs->trans('MessageListViewType'), '', 'fa fa-bars imgforviewmode', $messagingUrl, '', 2);

View File

@ -1614,7 +1614,7 @@ if ($action == 'create' && $user->rights->projet->creer) {
$MAXEVENT = 10;
$morehtmlcenter = dolGetButtonTitle($langs->trans('SeeAll'), '', 'fa fa-bars imgforviewmode', DOL_URL_ROOT.'/projet/info.php?id='.$object->id);
$morehtmlcenter = dolGetButtonTitle($langs->trans('SeeAll'), '', 'fa fa-bars imgforviewmode', DOL_URL_ROOT.'/projet/messaging.php?id='.$object->id);
// List of actions on element
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';