X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentries.html.twig;h=f19f2922c6168016c4f2529a10bdf2f198e6b497;hb=b19df31d78d881a43bcf6b3215e5fc3781e8e8aa;hp=176290e44df2a15908fa0d408fba58218ae11e11;hpb=b004a236ba0cc96bf530801a55cdddf9ec809d13;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index 176290e4..b747ed84 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig @@ -1,92 +1,187 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title "Unread" %} +{% block head %} + {{ parent() }} + {% if tag is defined and app.user.config.feedToken %} + + {% endif %} +{% endblock %} + +{% block title %} + {% set filter = '' %} + {% if tag is defined %} + {% set filter = tag %} + {% 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 %} - {% block pager %} -
{{ entry.content|striptags|slice(0, 300) }}…
- {% else %} -{{ entry.content|striptags|slice(0, 300) }}…
+ {% else %} +