X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=668824bc0bbed56eabf9f8c7c6e96fdd44c57ae8;hb=4529d0f4b6b20cbbd1ccb5339a753aff7d35552b;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..668824bc 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,56 @@ {% for entry in entries %}
{{ entry.content|striptags|slice(0, 300) }}...
+ +{{ entry.content|striptags|slice(0, 300) }}…
+ {% endif %} +{{ entry.content|striptags|slice(0, 300) }}…
+