X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=9a383685fd0ea3036305652c0b4f9509c711b440;hb=ba335762a80e7860a166c9191502e9c35a5d76b4;hp=0c4dc80b6333491cc6b79adf75120a9b28e49b49;hpb=bd40f1af88979cb5257206d178d26819e350a24c;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 0c4dc80b..9a383685 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 %} @@ -34,7 +38,6 @@ {% endif %}
-
    {% for entry in entries %}
  • @@ -52,17 +55,16 @@
{% if entries.getNbPages > 1 %} - {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} +
+ {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} +
{% endif %}
- {% set currentTag = '' %} + {% set currentTag = null %} {% if tag is defined %} {% set currentTag = tag.slug %} - {% endif %} - {% if currentRoute == 'homepage' %} - {% set currentRoute = 'unread' %} {% endif %}

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