Skip to content

Commit

Permalink
[AccidentMetaData] add: tooltip config dico
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Dec 7, 2021
1 parent 4c542f6 commit 2b33a53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions accident_metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
//RelativeLocation -- Précisions complémentaires sur le lieu de l’accident
print '<tr><td class="minwidth400">'.$langs->trans("RelativeLocation").'</td><td>';
print $formother->select_dictionary('relative_location','c_relative_location', 'ref', 'label', $accidentmetadata->relative_location, 1);
print '<a href="'.DOL_URL_ROOT.'/admin/dict.php?mainmenu=home" target="_blank">' . $form->textwithpicto('', $langs->trans('ConfigDico')) . '</a>';
print '</td></tr>';

//ThirdPartyResponsability --
Expand Down Expand Up @@ -446,12 +447,14 @@
//LesionLocalization -- Siège des lésions
print '<td>';
print $formother->select_dictionary('lesion_localization','c_lesion_localization', 'label', 'label', $item->lesion_localization, 1);
print '<a href="'.DOL_URL_ROOT.'/admin/dict.php?mainmenu=home" target="_blank">' . $form->textwithpicto('', $langs->trans('ConfigDico')) . '</a>';
print '</td>';

$coldisplay++;
//LesionNature -- Nature des lésions
print '<td>';
print $formother->select_dictionary('lesion_nature','c_lesion_nature', 'label', 'label', $item->lesion_nature, 1);
print '<a href="'.DOL_URL_ROOT.'/admin/dict.php?mainmenu=home" target="_blank">' . $form->textwithpicto('', $langs->trans('ConfigDico')) . '</a>';
print '</td>';

$coldisplay += $colspan;
Expand Down Expand Up @@ -515,12 +518,14 @@
//LesionLocalization -- Siège des lésions
print '<td>';
print $formother->select_dictionary('lesion_localization','c_lesion_localization', 'label', 'label', '', 1);
print '<a href="'.DOL_URL_ROOT.'/admin/dict.php?mainmenu=home" target="_blank">' . $form->textwithpicto('', $langs->trans('ConfigDico')) . '</a>';
print '</td>';

$coldisplay++;
//LesionNature -- Nature des lésions
print '<td>';
print $formother->select_dictionary('lesion_nature','c_lesion_nature', 'label', 'label', '', 1);
print '<a href="'.DOL_URL_ROOT.'/admin/dict.php?mainmenu=home" target="_blank">' . $form->textwithpicto('', $langs->trans('ConfigDico')) . '</a>';
print '</td>';

$coldisplay += $colspan;
Expand Down
2 changes: 1 addition & 1 deletion langs/fr_FR/digiriskdolibarr.lang
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ DigiriskManagement = Redirection après la connexion au site
DigiriskDescription = Redirection sur la page de bienvenue de Digirisk par défaut au lieu de celle de Dolibarr.
HowToSetupIHM = Pour plus de fonctionnalités sur l'affichage de Dolibarr (Configuration de l'image de fond du Dolibarr, etc), vous pouvez vous rendre sur ce lien :
ConfigIHM = Configuration de l'affichage

ConfigDico = Accéder à la page de configuration des dictionnaires


#
Expand Down

0 comments on commit 2b33a53

Please sign in to comment.