diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 9ee365bf1..d93ca1a1f 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -491,5 +491,6 @@ "libraryAlreadyImportedError": "This library has already been imported.", "invalidLibraryFileError": "Invalid library file. Please make sure the format is correct.", "taintedFormMessage": "Do you want to leave this page? Changes you made may not be saved.", - "riskScenariosStatus": "Risk scenarios status" + "riskScenariosStatus": "Risk scenarios status", + "onlineDocs": "Online documentation" } diff --git a/frontend/messages/fr.json b/frontend/messages/fr.json index 030a726db..440a80729 100644 --- a/frontend/messages/fr.json +++ b/frontend/messages/fr.json @@ -491,5 +491,6 @@ "libraryAlreadyImportedError": "Cette libairie a été déjà été importée.", "invalidLibraryFileError": "Fichier de bibliothèque invalide. Veuillez vérifier le format du fichier.", "taintedFormMessage": "Voulez-vous vraiment quitter cette page ? Toutes les données non enregistrées seront perdues.", - "riskScenariosStatus": "Statut des scénarios de risque" + "riskScenariosStatus": "Statut des scénarios de risque", + "onlineDocs": "Documentation en ligne" } diff --git a/frontend/src/lib/components/SideBar/SideBarFooter.svelte b/frontend/src/lib/components/SideBar/SideBarFooter.svelte index ca69729ab..7e18d39ca 100644 --- a/frontend/src/lib/components/SideBar/SideBarFooter.svelte +++ b/frontend/src/lib/components/SideBar/SideBarFooter.svelte @@ -48,7 +48,10 @@
{#if $page.data.user} - + {$page.data.user.first_name} {$page.data.user.last_name} @@ -90,6 +93,12 @@ class="cursor-pointer flex items-center gap-2 w-full px-4 py-2.5 text-left text-sm hover:bg-gray-100 disabled:text-gray-500 text-gray-800" data-testid="about-button">{m.aboutCiso()} + {m.onlineDocs()}