forked from wallabag/wallabag
change order of condition
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
{% 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 %}
|
||||
{% else %}
|
||||
{% trans %}Unread{% endtrans %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user