X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=1abbceed5324b3238d4748f8f73d3b1ca937e738;hb=188b74b6df0647e9833d546443eb43d4df8536f7;hp=6de800b94fb57d94b4aabf3148f9b1f111c49aae;hpb=e43d27f8450dcdf79850e935b762ac390a19dd63;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 6de800b9..1abbceed 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 %} + {{ 'entry.page_titles.starred'|trans }} {% elseif currentRoute == 'archive' %} - {% trans %}archive{% endtrans %} + {{ 'entry.page_titles.archived'|trans }} {% elseif currentRoute == 'all' %} - {% trans %}Filtered{% endtrans %} + {{ 'entry.page_titles.filtered'|trans }} {% else %} - {% trans %}unread{% endtrans %} + {{ 'entry.page_titles.unread'|trans }} {% endif %} {% endblock %} @@ -18,14 +18,12 @@ {% block content %} {% block pager %}
{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %} @@ -65,24 +68,26 @@ {{ entry.title|raw }} - {% if entry.readingTime > 0 %} -{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %} @@ -97,15 +102,15 @@ {% if currentRoute == 'homepage' %} {% set currentRoute = 'unread' %} {% endif %} -