]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/_title.html.twig
Merge pull request #3615 from notFloran/3612-login-by-email
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / common / Entry / _title.html.twig
1 {% set currentRoute = app.request.attributes.get('_route') %}
2
3 {% if currentRoute == 'starred' %}
4 {{ 'entry.page_titles.starred'|trans }}
5 {% elseif currentRoute == 'archive' %}
6 {{ 'entry.page_titles.archived'|trans }}
7 {% elseif currentRoute == 'all' %}
8 {{ isFiltered ? 'entry.page_titles.filtered'|trans : 'entry.page_titles.all'|trans }}
9 {% elseif currentRoute == 'search' %}
10 {{ 'entry.page_titles.filtered_search'|trans }} {{ filter }}
11 {% elseif currentRoute == 'tag_entries' %}
12 {{ 'entry.page_titles.filtered_tags'|trans }} {{ filter }}
13 {% elseif currentRoute == 'untagged' %}
14 {{ 'entry.page_titles.untagged'|trans }}
15 {% else %}
16 {{ 'entry.page_titles.unread'|trans }}
17 {% endif %}