X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=1c5057ddd102784366ca99c1f4913b1f23eb31fc;hb=c146f6940a176142084b4fc3c610d13aca60d90e;hp=1db63c21828532e30a0e4548aadf3efd61c9701a;hpb=b1a65df9df833674ed2520a825e5a981f4fff828;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 1db63c21..1c5057dd 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,64 +1,200 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %} - {% set currentRoute = app.request.attributes.get('_route') %} - - {% if currentRoute == 'unread' %} - {% trans %}Unread{% endtrans %} - {% elseif currentRoute == 'starred' %} - {% trans %}Starred{% endtrans %} - {% elseif currentRoute == 'archive' %} - {% trans %}Archive{% endtrans %} - {% endif %} - + {% include "@WallabagCore/themes/_title.html.twig" %} {% endblock %} {% block content %} - {% block pager %} - {% if entries is not empty %} -
{{ entry.content|striptags|slice(0, 300)|raw }}…
+{{ entry.content|striptags|slice(0, 300) }}...
{{ entry.content|striptags|slice(0, 300)|raw }}…
+ +