X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=7e48619e8c4a0afeacb6fd1d78969812558f9332;hb=f9987d4a213627c6e09eee80743d42c344482e69;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..7e48619e 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
@@ -2,8 +2,8 @@
{% block head %}
{{ parent() }}
- {% if tag is defined and app.user.config.rssToken %}
-
+ {% if tag is defined and app.user.config.feedToken %}
+
{% endif %}
{% endblock %}
@@ -21,12 +21,16 @@
{% block content %}
{% set listMode = app.user.config.listMode %}
{% set currentRoute = app.request.attributes.get('_route') %}
+ {% if currentRoute == 'homepage' %}
+ {% set currentRoute = 'unread' %}
+ {% endif %}
+
{% if entries.getNbPages > 1 %}
@@ -60,18 +80,20 @@
{% if tag is defined %}
{% set currentTag = tag.slug %}
{% endif %}
- {% if currentRoute == 'homepage' %}
- {% set currentRoute = 'unread' %}
+ {% set exportSearchTerm = null %}
+ {% if searchTerm is defined %}
+ {% set exportSearchTerm = searchTerm %}
{% endif %}
+ {% set previousRoute = app.request.attributes.get('currentRoute') %}