X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2Flayout.html.twig;h=b9c45567aa76c1971407b96302a28b8a5702c0ae;hb=refs%2Fpull%2F3526%2Fhead;hp=3c169c04fce17c4071d43b4af4e17d69e6272182;hpb=7d9a67de14bd49db96d87058b7bdfc26bdd53f6e;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 3c169c04..b9c45567 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -2,12 +2,14 @@ {% block css %} {{ parent() }} - + {% if not app.debug %} + + {% endif %} {% endblock %} {% block scripts %} {{ parent() }} - + {% endblock %} {% block header %} @@ -27,7 +29,7 @@ {% block logo %} {% endblock %} @@ -44,6 +46,8 @@ {% set activeRoute = 'starred' %} {% elseif currentRoute == 'unread' or currentRoute == 'homepage' or currentRouteFromQueryParams == 'unread' %} {% set activeRoute = 'unread' %} + {% elseif currentRoute == 'untagged' %} + {% set activeRoute = 'untagged' %} {% endif %}
  • @@ -64,6 +68,11 @@
  • {{ 'menu.left.config'|trans }}
  • + {% if craue_setting('restricted_access') %} +
  • + {{ 'menu.left.site_credentials'|trans }} +
  • + {% endif %} {% if is_granted('ROLE_SUPER_ADMIN') %}
  • {{ 'menu.left.users_management'|trans }} @@ -86,44 +95,47 @@ {{ 'menu.left.logout'|trans }}
  • -