mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +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 %}
|
||||
{% 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 %}
|
||||
|
|
Loading…
Reference in a new issue