X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=c3fd4d286d46510469a90aac198e7ceed2734953;hb=fdec3acab1e48ceb74917ce8ae4cfb1d127c757b;hp=67061e4c7441e03893d43c81fc7975959fd99c2d;hpb=443cecd2d895a7e257a051ea65c6822fdce73b07;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..c3fd4d28 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 @@ -4,11 +4,13 @@ {% set currentRoute = app.request.attributes.get('_route') %} {% if currentRoute == 'starred' %} - {% trans %}Starred{% endtrans %} + {% trans %}starred{% endtrans %} {% elseif currentRoute == 'archive' %} - {% trans %}Archive{% endtrans %} + {% trans %}archive{% endtrans %} + {% elseif currentRoute == 'all' %} + {% trans %}Filtered{% endtrans %} {% else %} - {% trans %}Unread{% endtrans %} + {% trans %}unread{% endtrans %} {% endif %} {% endblock %} @@ -31,23 +33,61 @@ {% for entry in entries %}
{{ entry.content|striptags|slice(0, 300) }}...
+ +{{ entry.content|striptags|slice(0, 300)|raw }}…
+ {% endif %} +{{ entry.content|striptags|slice(0, 300)|raw }}…
+