]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #1295 from wallabag/v2-howto
authorJeremy Benoist <j0k3r@users.noreply.github.com>
Mon, 10 Aug 2015 12:15:11 +0000 (14:15 +0200)
committerJeremy Benoist <j0k3r@users.noreply.github.com>
Mon, 10 Aug 2015 12:15:11 +0000 (14:15 +0200)
add howto page

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

index 7070a399349f4b1f44d01901d1099dbf5c9b0baf,476420dd47a8ead4a0acef999b8a808fed0c17b6..8c9421656d2cf5728096fbc7a1059f21150732d4
                          {% 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 {% if currentRoute == 'howto' %}active{% endif %}"><a class="waves-effect" href="{{ path('howto') }}">{% trans %}howto{% 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>
                      <div class="nav-wrapper nav-panels">