X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=5deda0fc8a3849f823a36d7f7a479847b76fe6d1;hb=09ef25c3c3882db94b3941f3ba33ebc78b5dbe4d;hp=919f94ecad7b898c799f5607ab1a8f9cf41854ba;hpb=e4cf672ccf61689ba28c2e89fc55f83167800b18;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..5deda0fc 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 }}…
- -