mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
# Conflicts: # src/Repository/EntryRepository.php # src/Twig/WallabagExtension.php # src/Wallabag/CoreBundle/Resources/views/Entry/_card_actions.html.twig # src/Wallabag/CoreBundle/Resources/views/Entry/_card_list.html.twig # tests/Twig/WallabagExtensionTest.php
21 lines
908 B
Twig
21 lines
908 B
Twig
{% set current_route = app.request.attributes.get('_route') %}
|
|
|
|
{% if current_route == 'starred' %}
|
|
{{ 'entry.page_titles.starred'|trans }}
|
|
{% elseif current_route == 'archive' %}
|
|
{{ 'entry.page_titles.archived'|trans }}
|
|
{% elseif current_route == 'all' %}
|
|
{{ isFiltered ? 'entry.page_titles.filtered'|trans : 'entry.page_titles.all'|trans }}
|
|
{% elseif current_route == 'search' %}
|
|
{{ 'entry.page_titles.filtered_search'|trans }} {{ filter }}
|
|
{% elseif current_route == 'tag_entries' %}
|
|
{{ 'entry.page_titles.filtered_tags'|trans }} {{ tag.label }}
|
|
{% elseif current_route == 'untagged' %}
|
|
{{ 'entry.page_titles.untagged'|trans }}
|
|
{% elseif current_route == 'same_domain' %}
|
|
{{ 'entry.page_titles.same_domain'|trans }}
|
|
{% elseif current_route == 'annotated' %}
|
|
{{ 'entry.page_titles.with_annotations'|trans }}
|
|
{% else %}
|
|
{{ 'entry.page_titles.unread'|trans }}
|
|
{% endif %}
|