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=6de800b94fb57d94b4aabf3148f9b1f111c49aae;hb=3221b2e413eeddf952310a702fff0f887384018f;hp=67061e4c7441e03893d43c81fc7975959fd99c2d;hpb=7b2d33689338386b331a9a370eb6b9d8576f0cbb;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 67061e4c..2a027086 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,53 +1,87 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %} - {% set currentRoute = app.request.attributes.get('_route') %} - - {% if currentRoute == 'starred' %} - {% trans %}Starred{% endtrans %} - {% elseif currentRoute == 'archive' %} - {% trans %}Archive{% endtrans %} - {% else %} - {% trans %}Unread{% endtrans %} - {% endif %} - + {% include "@WallabagCore/themes/common/Entry/_title.html.twig" %} {% endblock %} {% block content %} - {% block pager %}
{{ entry.content|striptags|slice(0, 300) }}...
+ +{{ entry.content|striptags|slice(0, 250)|raw }}…
+{{ entry.content|striptags|slice(0, 250)|raw }}…
+ +