X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=6de800b94fb57d94b4aabf3148f9b1f111c49aae;hb=63e40f2d7c4074aff0be587c828eb511a6b7c878;hp=b45552f2df8a00a79e90f04b11e425535b01b3a4;hpb=f506da40e2573a98cd84159b2ee36621220a2771;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 b45552f2..6de800b9 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,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) }}…
+