diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 13 |
1 files changed, 12 insertions, 1 deletions
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 f68eec12..1db63c21 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,6 +1,17 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | 2 | ||
3 | {% block title "Unread" %} | 3 | {% block title %} |
4 | {% set currentRoute = app.request.attributes.get('_route') %} | ||
5 | |||
6 | {% if currentRoute == 'unread' %} | ||
7 | {% trans %}Unread{% endtrans %} | ||
8 | {% elseif currentRoute == 'starred' %} | ||
9 | {% trans %}Starred{% endtrans %} | ||
10 | {% elseif currentRoute == 'archive' %} | ||
11 | {% trans %}Archive{% endtrans %} | ||
12 | {% endif %} | ||
13 | |||
14 | {% endblock %} | ||
4 | 15 | ||
5 | {% block content %} | 16 | {% block content %} |
6 | {% block pager %} | 17 | {% block pager %} |