mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-10 19:41:26 +01:00
Rename page of agenda to follow same naming than other elements
This commit is contained in:
@@ -11470,6 +11470,7 @@ function getActionCommEcmList($object)
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Show html area with actions in messaging format.
|
||||
* Note: Global parameter $param must be defined.
|
||||
@@ -11766,7 +11767,7 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = '', $n
|
||||
}
|
||||
}
|
||||
|
||||
// Set $out to sow events
|
||||
// Set $out to show events
|
||||
$out = '';
|
||||
|
||||
if (!isModEnabled('agenda')) {
|
||||
|
||||
@@ -311,7 +311,7 @@ function project_prepare_head(Project $project, $moreparam = '')
|
||||
$h++;
|
||||
}
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT.'/projet/info.php?id='.$project->id;
|
||||
$head[$h][0] = DOL_URL_ROOT.'/projet/messaging.php?id='.$project->id;
|
||||
$head[$h][1] = $langs->trans("Events");
|
||||
if (isModEnabled('agenda') && (!empty($user->rights->agenda->myactions->read) || !empty($user->rights->agenda->allactions->read))) {
|
||||
$head[$h][1] .= '/';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/projet/info.php
|
||||
* \file htdocs/projet/agenda.php
|
||||
* \ingroup project
|
||||
* \brief Page with events on project
|
||||
*/
|
||||
@@ -132,7 +132,7 @@ $morehtmlref = '<div class="refidno">';
|
||||
$morehtmlref .= $object->title;
|
||||
// Thirdparty
|
||||
if (!empty($object->thirdparty->id) && $object->thirdparty->id > 0) {
|
||||
$morehtmlref .= '<br>'.$langs->trans('ThirdParty').' : '.$object->thirdparty->getNomUrl(1, 'project');
|
||||
$morehtmlref .= '<br>'.$object->thirdparty->getNomUrl(1, 'project');
|
||||
}
|
||||
$morehtmlref .= '</div>';
|
||||
|
||||
@@ -180,7 +180,7 @@ if (!empty($object->id)) {
|
||||
$morehtmlcenter .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 2);
|
||||
|
||||
// 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, '', 1);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user