X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=8782d6396ce28d6fcf4088d189fabf4a32933b03;hb=refs%2Fpull%2F1861%2Fhead;hp=bf38bff8245e839d53c6cbb71fdd229e58836501;hpb=0a0c600887dde4cc755de0862a3301830c415882;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 bf38bff8..8782d639 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,7 +18,9 @@ {% block content %} {% block pager %}
{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %}{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300)|raw }}…
{% endif %} @@ -97,15 +107,15 @@ {% if currentRoute == 'homepage' %} {% set currentRoute = 'unread' %} {% endif %} -