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=dcdf7c09117fec309c100866b101544c02034ae3;hpb=d4ebe5c5dcf581416ab76136908cafbde78f63bf;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 dcdf7c09..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,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,17 @@ {% endif %} - {{ entry.title|raw|striptags|slice(0, 42) }} + {{ entry.title|striptags|slice(0, 42)|raw }} - {% if entry.readingTime > 0 %} -
{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %} @@ -65,18 +66,19 @@ {{ entry.title|raw }} - {% if entry.readingTime > 0 %} -{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %}