forked from wallabag/wallabag
change order of condition
This commit is contained in:
@ -3,12 +3,12 @@
|
|||||||
{% block title %}
|
{% block title %}
|
||||||
{% set currentRoute = app.request.attributes.get('_route') %}
|
{% set currentRoute = app.request.attributes.get('_route') %}
|
||||||
|
|
||||||
{% if currentRoute == 'unread' %}
|
{% if currentRoute == 'starred' %}
|
||||||
{% trans %}Unread{% endtrans %}
|
|
||||||
{% elseif currentRoute == 'starred' %}
|
|
||||||
{% trans %}Starred{% endtrans %}
|
{% trans %}Starred{% endtrans %}
|
||||||
{% elseif currentRoute == 'archive' %}
|
{% elseif currentRoute == 'archive' %}
|
||||||
{% trans %}Archive{% endtrans %}
|
{% trans %}Archive{% endtrans %}
|
||||||
|
{% else %}
|
||||||
|
{% trans %}Unread{% endtrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user