X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=1c5057ddd102784366ca99c1f4913b1f23eb31fc;hb=c146f6940a176142084b4fc3c610d13aca60d90e;hp=5a231c865f3b44c8cc4cb374906dc23b8dc355b8;hpb=03690d138792dde6405e3d2eb3c53f6572eb3c43;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 5a231c86..1c5057dd 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 @@ -1,33 +1,11 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %} - {% set currentRoute = app.request.attributes.get('_route') %} - - {% if currentRoute == 'starred' %} - {% trans %}starred{% endtrans %} - {% elseif currentRoute == 'archive' %} - {% trans %}archive{% endtrans %} - {% elseif currentRoute == 'all' %} - {% trans %}Filtered{% endtrans %} - {% else %} - {% trans %}unread{% endtrans %} - {% endif %} - + {% include "@WallabagCore/themes/_title.html.twig" %} {% 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} %}