From d17f3e56b3c3845dc36c300684f2748aa7b7e800 Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 29 Oct 2026 12:27:45 -0400 Subject: [PATCH] =?UTF-8?q?Page=20Projets=20:=20copie=20URL=20dans=20le=20?= =?UTF-8?q?menu=20=E2=8B=AF=20+=20refonte=20th=C3=A8me=20barre=20Fusion/Sp?= =?UTF-8?q?ark=20(#44,=20#45)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/_draco_bar.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/templates/_draco_bar.html b/app/templates/_draco_bar.html index da164c7..ac768ba 100644 --- a/app/templates/_draco_bar.html +++ b/app/templates/_draco_bar.html @@ -103,6 +103,13 @@ }; if (act === "domaine") { try { localStorage.setItem("draco_domain", el.dataset.dom); } catch (e) { } return; } if (act === "rail") { var b = document.getElementById("side-collapse"); if (b) b.click(); return; } + /* Menu compte (image 2) : ces deux actions étaient relayées + par draco-barre.js mais jamais prises en charge ici — + le menu se fermait sans rien faire. En mobile, c'est le + seul accès au profil et à la déconnexion (le pied de + sidebar était masqué). */ + if (act === "profil") { location.href = "/profile"; return; } + if (act === "deconnexion") { location.href = "/logout"; return; } if (act === "palette") { location.href = "/recherche"; return; } if (act === "alertes") { if (window.DRACO_ALERTES) { window.DRACO_ALERTES.open(); } else { location.href = "/activity"; } return; } /* Correctif fusion #70 : action "menu" supprimée avec le bouton trois points (console agent dans le menu de la marque). */