X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=b45552f2df8a00a79e90f04b11e425535b01b3a4;hb=7083d183b9df11f350be0d7039f5f0e33536b94b;hp=1db63c21828532e30a0e4548aadf3efd61c9701a;hpb=b1a65df9df833674ed2520a825e5a981f4fff828;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 1db63c21..b45552f2 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 @@ -3,62 +3,124 @@ {% block title %} {% set currentRoute = app.request.attributes.get('_route') %} - {% if currentRoute == 'unread' %} - {% trans %}Unread{% endtrans %} - {% elseif currentRoute == 'starred' %} + {% if currentRoute == 'starred' %} {% trans %}Starred{% endtrans %} {% elseif currentRoute == 'archive' %} {% trans %}Archive{% endtrans %} + {% elseif currentRoute == 'all' %} + {% trans %}Filtered{% endtrans %} + {% else %} + {% trans %}Unread{% endtrans %} {% endif %} {% endblock %} {% block content %} {% block pager %} - {% if entries is not empty %} -
-
{{ entries.count }} {% trans %}entries{% endtrans %}
-
- - {% endif %} - {% endblock %} -
- {% if entries is empty %} -

{% trans %}No articles found.{% endtrans %}

- {% else %} -