]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
change order of condition 1286/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 5 Aug 2015 19:16:48 +0000 (21:16 +0200)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Wed, 5 Aug 2015 19:16:48 +0000 (21:16 +0200)
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig

index 1db63c21828532e30a0e4548aadf3efd61c9701a..a2202431e67b0b7b6820a2f14f09fe462e4e46ce 100644 (file)
@@ -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 %}