X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=e9925e3d60999096dad2d15b4fc917ba4b264f01;hb=365a38984e32d152ec0170991a61bf704756cf1e;hp=9a2442a08596e1363d9c73e447fce2964dc274aa;hpb=a3bcd60a378946a68e67a3b609d7ef126b014ee6;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 9a2442a0..e9925e3d 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,13 +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 %} @@ -33,17 +33,52 @@ {% 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 }}…
+