From: Nicolas LÅ“uillet Date: Wed, 5 Aug 2015 19:16:48 +0000 (+0200) Subject: change order of condition X-Git-Tag: 2.0.0-alpha.0~57^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=308db01684dea746e4a6d174a92b7f37c832fae6;p=github%2Fwallabag%2Fwallabag.git change order of condition --- 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 %}