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=8ad24fbf8d9a2007c459194d27a1066e9e0bed3d;hb=6c08fb68b8e7883df7f6c1a2ba7c56ced4c1153b;hp=bd64067c567de99ab798ea61e62ae402070de1c9;hpb=34437f408c5b7b590aded6795d7ce01bfbfc7711;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 bd64067c..8ad24fbf 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,58 @@ {% 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 }}…
+