X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2Flayout.html.twig;fp=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2Flayout.html.twig;h=948e7eaa4b509f316e15ada58a67c87afcc496bb;hb=50f35f0db2be9586205e793f315608eec59c9666;hp=052a8c01b739032399fb38546286a5b8401cdd79;hpb=9a57653aec85b0f5220436d5cb76545e66c24a11;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 052a8c01..948e7eaa 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -46,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 %}
  • @@ -113,6 +115,13 @@ search
  • + {% if activeRoute %} +
  • + + shuffle + +
  • + {% endif %}
  • filter_list @@ -125,7 +134,7 @@
  • - {{ render(controller("WallabagCoreBundle:Entry:searchForm", {'currentRoute': app.request.attributes.get('_route')})) }} + {{ render(controller("WallabagCoreBundle:Entry:searchForm", {'currentRoute': currentRoute})) }} {{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}