X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=6de800b94fb57d94b4aabf3148f9b1f111c49aae;hb=3221b2e413eeddf952310a702fff0f887384018f;hp=c05e4b8767dd58ff3e53bf0d5572505336faa762;hpb=790d18a319e6ac9934318cce339d17217e053c63;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 c05e4b87..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,110 +1,202 @@ {% 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 %} - {% if entries is not empty %} -
{{ entry.content|striptags|slice(0, 250)|raw }}…
+{{ entry.content|striptags|slice(0, 300) }}...
{{ entry.content|striptags|slice(0, 250)|raw }}…
+ +