X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=31c4b5cbecf8b17509729f7b5cbc65ceb2df5ce0;hb=0447a75b06142afe59a179bb59ee94f1978aa7a9;hp=a137f3c34895954001c1cbb15f1c492630223b8f;hpb=3a696280075af753fc57ad1a0a6ca3636ef0255d;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index a137f3c3..31c4b5cb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -21,10 +21,14 @@ {% block content %} {% set listMode = app.user.config.listMode %} {% set currentRoute = app.request.attributes.get('_route') %} + {% if currentRoute == 'homepage' %} + {% set currentRoute = 'unread' %} + {% endif %}
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} {% if listMode == 0 %}view_list{% else %}view_module{% endif %} + random {% if app.user.config.rssToken %} {% include "@WallabagCore/themes/common/Entry/_rss_link.html.twig" %} {% endif %} @@ -59,17 +63,14 @@ {% set currentTag = null %} {% if tag is defined %} {% set currentTag = tag.slug %} - {% endif %} - {% if currentRoute == 'homepage' %} - {% set currentRoute = 'unread' %} {% endif %}

{{ 'entry.list.export_title'|trans }}