X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=586cd7b1924b27c4de53b54ca79ce32bd9061709;hb=ee360905ce41c6f28c34419f18e50cd87ae387e5;hp=3e678a3260f039a85f57ac27c92fadee72e1a297;hpb=7a5043f187a1f9aac37f359c8f407e5febea50f7;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 3e678a32..586cd7b1 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,122 +1,86 @@
{% extends "WallabagCoreBundle::layout.html.twig" %}
+{% block head %}
+ {{ parent() }}
+ {% if tag is defined and app.user.config.rssToken %}
+
+ {% endif %}
+{% endblock %}
+
{% block title %}
- {% set params = {} %}
- {% if tag is defined %}
- {% set params = {'label': tag} %}
- {% endif %}
- {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'params': params} %}
+ {% 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 }}…
- -