From 5785f4b6405fd4d9e48e02b519320b39b52f42ed Mon Sep 17 00:00:00 2001 From: Marjolaine Le Bon Date: Tue, 11 Aug 2020 19:55:14 +0200 Subject: [PATCH] update: menu left with polls --- src/menu-left.pug | 11 ++++++----- src/styles/base/menu-left.scss | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/menu-left.pug b/src/menu-left.pug index b914a8d..c4d0cb8 100644 --- a/src/menu-left.pug +++ b/src/menu-left.pug @@ -64,18 +64,19 @@ solid-router#navbar-router(default-route='dashboard') div.menu-label Offres de mission div.menu-icon.icon-briefcase div.divider - if endpoints.events || (endpoints.get && endpoints.get.events) - solid-route.menu(name='events') - div.menu-label Evènements - div.menu-icon.icon-calendar - div.divider if endpoints.resources || (endpoints.get && endpoints.get.resources) solid-route.menu(name='resources') div.menu-label Ressources div.menu-icon.icon-docs + div.divider if endpoints.polls || (endpoints.get && endpoints.get.polls) solid-route.menu(name='polls') div.menu-label Gouvernance + div.menu-icon.icon-bubbles + div.divider + if endpoints.events || (endpoints.get && endpoints.get.events) + solid-route.menu(name='events') + div.menu-label Evènements div.menu-icon.icon-calendar div.divider if endpoints.projects || (endpoints.get && endpoints.get.projects) diff --git a/src/styles/base/menu-left.scss b/src/styles/base/menu-left.scss index d58941a..d97d858 100644 --- a/src/styles/base/menu-left.scss +++ b/src/styles/base/menu-left.scss @@ -47,6 +47,7 @@ } } &[name="resources"][active] .menu-icon:before, + &[name="polls"][active] .menu-icon:before, &[name="events"][active] .menu-icon:before { background-color: transparent; }