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.
|
* Show html area with actions in messaging format.
|
||||||
* Note: Global parameter $param must be defined.
|
* 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 = '';
|
$out = '';
|
||||||
|
|
||||||
if (!isModEnabled('agenda')) {
|
if (!isModEnabled('agenda')) {
|
||||||
|
|||||||
@@ -311,7 +311,7 @@ function project_prepare_head(Project $project, $moreparam = '')
|
|||||||
$h++;
|
$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");
|
$head[$h][1] = $langs->trans("Events");
|
||||||
if (isModEnabled('agenda') && (!empty($user->rights->agenda->myactions->read) || !empty($user->rights->agenda->allactions->read))) {
|
if (isModEnabled('agenda') && (!empty($user->rights->agenda->myactions->read) || !empty($user->rights->agenda->allactions->read))) {
|
||||||
$head[$h][1] .= '/';
|
$head[$h][1] .= '/';
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/projet/info.php
|
* \file htdocs/projet/agenda.php
|
||||||
* \ingroup project
|
* \ingroup project
|
||||||
* \brief Page with events on project
|
* \brief Page with events on project
|
||||||
*/
|
*/
|
||||||
@@ -132,7 +132,7 @@ $morehtmlref = '<div class="refidno">';
|
|||||||
$morehtmlref .= $object->title;
|
$morehtmlref .= $object->title;
|
||||||
// Thirdparty
|
// Thirdparty
|
||||||
if (!empty($object->thirdparty->id) && $object->thirdparty->id > 0) {
|
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>';
|
$morehtmlref .= '</div>';
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ if (!empty($object->id)) {
|
|||||||
$morehtmlcenter .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 2);
|
$morehtmlcenter .= dolGetButtonTitle($langs->trans('ShowAsConversation'), '', 'fa fa-comments imgforviewmode', $messagingUrl, '', 2);
|
||||||
|
|
||||||
// Show link to change view in agenda
|
// 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);
|
$morehtmlcenter .= dolGetButtonTitle($langs->trans('MessageListViewType'), '', 'fa fa-bars imgforviewmode', $messagingUrl, '', 1);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user