diff --git a/templates/elements/menu.html.twig b/templates/elements/menu.html.twig index ca83c07..1b308c2 100644 --- a/templates/elements/menu.html.twig +++ b/templates/elements/menu.html.twig @@ -1,33 +1,36 @@ - - - {{ ux_icon('material-symbols:dashboard-outline-rounded', {height: '16px', width: '16px'}) }} - Dashboard - - - - - {{ ux_icon('bi:menu-up', {height: '16px', width: '16px'}) }} - Menu - {{ ux_icon('bi:chevron-right', {height: '16px', width: '16px'}) }} - - - - {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }} - Accordions - {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }} - Buttons - {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }} - Badges - {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }} - Breadcrumbs - {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }} - Dropdowns - - - + {% if is_granted("ROLE_SUPER_ADMIN") %} + + + {{ ux_icon('material-symbols:dashboard-outline-rounded', {height: '16px', width: '16px'}) }} + Dashboard + + + {% endif %} +{# #} +{# #} +{# #} +{# {{ ux_icon('bi:menu-up', {height: '16px', width: '16px'}) }}#} +{# Menu#} +{# {{ ux_icon('bi:chevron-right', {height: '16px', width: '16px'}) }}#} +{# #} +{# #} +{# #} +{# {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }}#} +{# Accordions#} +{# {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }}#} +{# Buttons#} +{# {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }}#} +{# Badges#} +{# {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }}#} +{# Breadcrumbs#} +{# {{ ux_icon('material-symbols-light:play-arrow-outline', {height: '16px', width: '16px'}) }}#} +{# Dropdowns#} +{# #} +{# #} +{# #} {{ ux_icon('material-symbols:settings-applications-outline', {height: '15px', width: '15px'}) }}