Skip to content

Commit

Permalink
More info in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 1, 2024
1 parent b3fd3b6 commit 4dbed77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions htdocs/comm/action/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ function selectremindertype() {
$head = actions_prepare_head($object);

$now = dol_now();
$delay_warning = $conf->global->MAIN_DELAY_ACTIONS_TODO * 24 * 60 * 60;
$delay_warning = getDolGlobalInt('MAIN_DELAY_ACTIONS_TODO') * 24 * 60 * 60;


// Confirmation suppression action
Expand Down Expand Up @@ -2292,13 +2292,17 @@ function setdatefields()

print '<div class="underbanner clearboth"></div>';

// Affichage fiche action en mode visu
print '<table class="border tableforfield" width="100%">';
// Show event in view mode
print '<table class="border tableforfield centpercent">';

// Type
if (getDolGlobalString('AGENDA_USE_EVENT_TYPE')) {
print '<tr><td class="titlefield">'.$langs->trans("Type").'</td><td>';
print $object->getTypePicto();
$labeltoshow = $langs->trans("Action".$object->type_code);
if ($object->code) {
$labeltoshow .= ' ('.$object->code.')';
}
print $object->getTypePicto('pictofixedwidth paddingright', $labeltoshow);
print $langs->trans("Action".$object->type_code);
print '</td></tr>';
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/class/commonobject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ abstract class CommonObject
public $lines;

/**
* @var string Action code to use to record auto event in agenda. For example 'AC_OTH_AUTO'
* @var string Action type code to use to record auto event in agenda. For example 'AC_OTH_AUTO'
*/
public $actiontypecode;

Expand Down

0 comments on commit 4dbed77

Please sign in to comment.