- {% 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 %}
-