]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #1292 from wallabag/v2-tags-route
authorJeremy Benoist <j0k3r@users.noreply.github.com>
Sun, 9 Aug 2015 20:47:28 +0000 (22:47 +0200)
committerJeremy Benoist <j0k3r@users.noreply.github.com>
Sun, 9 Aug 2015 20:47:28 +0000 (22:47 +0200)
Add tags list display

1  2 
src/Wallabag/CoreBundle/Resources/views/themes/material/base.html.twig

index a56f58f3520d9782f4ded682ecfb443a987cbca7,5f8363ca92ea79d1a16d7ec3d26dcf112697caa7..7070a399349f4b1f44d01901d1099dbf5c9b0baf
@@@ -72,9 -72,9 +72,9 @@@
                          {% set currentRoute = app.request.attributes.get('_route') %}
  
                          <li class="bold {% if currentRoute == 'unread' or currentRoute == 'homepage' %}active{% endif %}"><a class="waves-effect" href="{{ path('unread') }}">{% trans %}unread{% endtrans %}</a></li>
 -                        <li class="bold {% if currentRoute == 'starred' %}active{% endif %}"><a class="waves-effect" href="{{ path('starred') }}">{% trans %}favorites{% endtrans %}</a></li>
 +                        <li class="bold {% if currentRoute == 'starred' %}active{% endif %}"><a class="waves-effect" href="{{ path('starred') }}">{% trans %}starred{% endtrans %}</a></li>
                          <li class="bold {% if currentRoute == 'archive' %}active{% endif %}"><a class="waves-effect" href="{{ path('archive') }}">{% trans %}archive{% endtrans %}</a></li>
-                         <li class="bold border-bottom {% if currentRoute == 'tags' %}active{% endif %}"><a class="waves-effect" href="?view=tags">{% trans %}tags{% endtrans %}</a></li>
+                         <li class="bold border-bottom {% if currentRoute == 'tags' %}active{% endif %}"><a class="waves-effect" href="{{ path('tag') }}">{% trans %}tags{% endtrans %}</a></li>
                          <li class="bold {% if currentRoute == 'config' %}active{% endif %}"><a class="waves-effect" href="{{ path('config') }}">{% trans %}config{% endtrans %}</a></li>
                          <li class="bold"><a class="waves-effect" class="icon icon-power" href="{{ path('logout') }}" title="{% trans %}logout{% endtrans %}">{% trans %}logout{% endtrans %}</a></li>
                      </ul>