X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=986166353f655b3fefad080f17e8faf5c2ceb587;hb=5ecdfcd041767c9e3244a92bb0a6cc3c3f80fea3;hp=8ad24fbf8d9a2007c459194d27a1066e9e0bed3d;hpb=27c837dcd1640a7f5f0ed197e882eefd53ba8273;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 8ad24fbf..98616635 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,30 +4,19 @@ {% 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 %} {% block content %} - {% block pager %} -
-
{% transchoice entries.count %}{0} There is no entry.|{1} There is one entry.|]1,Inf[ There are %count% entries.{% endtranschoice %}
- -
- {% endblock %} + {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %}