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=55b3ee5cd68104d61fd43862648bc65f001dd69f;hpb=15f1352ef8761d3e083fc17c8354c30ca3542050;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 55b3ee5c..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
@@ -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 }}…
- -