X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2Flayout.html.twig;h=c51d07fc2a64f8e121f34a0b05f743eb9b5f54a3;hb=6bd8f626e4a87a500e7d7904916dc593052d49c9;hp=3c169c04fce17c4071d43b4af4e17d69e6272182;hpb=99cc170b0eee43190817a5fb9f5a404835c5d2dd;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..c51d07fc 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 }} @@ -82,48 +91,54 @@
  • {{ 'menu.left.howto'|trans }}
  • +
  • + {{ 'menu.left.quickstart'|trans }} +
  • {{ 'menu.left.logout'|trans }}
  • -