X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=1225e68060d29934fac9e93c675b43f9b896eb96;hb=920d88599a077a7624574345243caf45c6bc5820;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..1225e680 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,15 @@ {% 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 %} - + {% set currentTag = '' %} + {% if tag is defined %} + {% set currentTag = tag %} + {% endif %} + {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'currentTag': currentTag} %} {% 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} %}