aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-05 21:16:48 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-05 21:16:48 +0200
commit308db01684dea746e4a6d174a92b7f37c832fae6 (patch)
tree533eb23a12879e157a58fa417018c876282ea354 /src/Wallabag
parentb1a65df9df833674ed2520a825e5a981f4fff828 (diff)
downloadwallabag-308db01684dea746e4a6d174a92b7f37c832fae6.tar.gz
wallabag-308db01684dea746e4a6d174a92b7f37c832fae6.tar.zst
wallabag-308db01684dea746e4a6d174a92b7f37c832fae6.zip
change order of condition
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index 1db63c21..a2202431 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -3,12 +3,12 @@
3{% block title %} 3{% block title %}
4 {% set currentRoute = app.request.attributes.get('_route') %} 4 {% set currentRoute = app.request.attributes.get('_route') %}
5 5
6 {% if currentRoute == 'unread' %} 6 {% if currentRoute == 'starred' %}
7 {% trans %}Unread{% endtrans %}
8 {% elseif currentRoute == 'starred' %}
9 {% trans %}Starred{% endtrans %} 7 {% trans %}Starred{% endtrans %}
10 {% elseif currentRoute == 'archive' %} 8 {% elseif currentRoute == 'archive' %}
11 {% trans %}Archive{% endtrans %} 9 {% trans %}Archive{% endtrans %}
10 {% else %}
11 {% trans %}Unread{% endtrans %}
12 {% endif %} 12 {% endif %}
13 13
14{% endblock %} 14{% endblock %}