mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
change order of condition
This commit is contained in:
parent
b1a65df9df
commit
308db01684
1 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue