From 308db01684dea746e4a6d174a92b7f37c832fae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 5 Aug 2015 21:16:48 +0200 Subject: change order of condition --- .../Resources/views/themes/material/Entry/entries.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ {% 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 %} -- cgit v1.2.3