2
0
forked from Wavyzz/dolibarr

Complete tooltip of modules

This commit is contained in:
Laurent Destailleur
2024-05-22 13:27:49 +02:00
parent ba96924afd
commit 3576127d65
2 changed files with 9 additions and 2 deletions

View File

@@ -366,10 +366,16 @@ if ($mode == 'desc') {
$textexternal .= ($objMod->editor_name != 'dolibarr' ? ' - ' : '').img_picto('', 'globe').' <a href="'.$editor_url.'" target="_blank" rel="noopener noreferrer external">'.$objMod->editor_url.'</a>';
}
$text .= $textexternal;
$text .= '<br>';
} else {
$text .= '<br><span class="opacitymedium">'.$langs->trans("Origin").':</span> '.$langs->trans("Core").'<br>';
$text .= '<br><span class="opacitymedium">'.$langs->trans("Origin").':</span> '.$langs->trans("Core");
if (empty($objMod->numero)) {
$text .= ' &nbsp; <span class="italic opacitymedium">('.$langs->trans("AlwaysEnabled").')</span>';
} elseif (!empty($objMod->enabled_bydefault)) {
$text .= ' &nbsp; <span class="italic opacitymedium">('.$langs->trans("EnabledByDefaultAtInstall").')</span>';
}
$text .= '<br>';
}
$text .= '<br>';
$moduledesclong = $objMod->getDescLong();
if ($moduledesclong) {

View File

@@ -2486,3 +2486,4 @@ TestWebhookTarget=Test triggerable event
DataToSendTrigger=Data sent to Url
SendToUrl=Send to Url
WebsiteTemplateWasCopied=The website template(s) "%s" provided by this module has been saved into the directory of website templates (/doctemplates/websites) and is ready to be imported as a new web site.
EnabledByDefaultAtInstall=Enabled by default at install