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=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..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} %}