X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=49128573c4e3167f9f4c444530b598e902681197;hb=90a0d086a8fd138804866436592bf7f1c7456a4a;hp=919f94ecad7b898c799f5607ab1a8f9cf41854ba;hpb=99731f0bb1f6fd2815eeb9af504ce86df927657b;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 919f94ec..49128573 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
@@ -1,118 +1,84 @@
{% extends "WallabagCoreBundle::layout.html.twig" %}
+{% block head %}
+ {{ parent() }}
+ {% if tag is defined and app.user.config.rssToken %}
+
+ {% endif %}
+{% endblock %}
+
{% block title %}
- {% include "@WallabagCore/themes/common/Entry/_title.html.twig" %}
+ {% set filter = '' %}
+ {% if tag is defined %}
+ {% set filter = tag.slug %}
+ {% endif %}
+ {% if searchTerm is defined and searchTerm is not empty %}
+ {% set filter = searchTerm %}
+ {% endif %}
+ {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'filter': filter} %}
{% endblock %}
{% block content %}
- {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}
-
-
{{ entry.content|striptags|slice(0, 300)|raw }}…
-{{ entry.content|striptags|slice(0, 300)|raw }}…
- -