X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=371992df41aad59aea17aebf337e06f475c52559;hb=bca5485946a72942c76dbb65c29e40818dca4976;hp=ff69e8213620790402b57b8f35db156a27450b24;hpb=7c99da0c958687033468098a92913619bef17f03;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 ff69e821..371992df 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 %} @@ -46,16 +46,21 @@ {% endif %} - {{ entry.title|raw|striptags|slice(0, 42) }} - - {% if entry.readingTime > 0 %} -
{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %} @@ -65,13 +70,14 @@ {{ entry.title|raw }} - {% if entry.readingTime > 0 %} -{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %} @@ -91,11 +97,29 @@ {% endfor %} + +