diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 6c4ae40b..e726db5a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | |||
@@ -40,8 +40,8 @@ | |||
40 | {% set activeRoute = null %} | 40 | {% set activeRoute = null %} |
41 | {% if currentRoute == 'all' or currentRouteFromQueryParams == 'all' %} | 41 | {% if currentRoute == 'all' or currentRouteFromQueryParams == 'all' %} |
42 | {% set activeRoute = 'all' %} | 42 | {% set activeRoute = 'all' %} |
43 | {% elseif currentRoute == 'with_annotations' or currentRouteFromQueryParams == 'with_annotations' %} | 43 | {% elseif currentRoute == 'annotated' or currentRouteFromQueryParams == 'annotated' %} |
44 | {% set activeRoute = 'with_annotations' %} | 44 | {% set activeRoute = 'annotated' %} |
45 | {% elseif currentRoute == 'archive' or currentRouteFromQueryParams == 'archive' %} | 45 | {% elseif currentRoute == 'archive' or currentRouteFromQueryParams == 'archive' %} |
46 | {% set activeRoute = 'archive' %} | 46 | {% set activeRoute = 'archive' %} |
47 | {% elseif currentRoute == 'starred' or currentRouteFromQueryParams == 'starred' %} | 47 | {% elseif currentRoute == 'starred' or currentRouteFromQueryParams == 'starred' %} |
@@ -61,8 +61,8 @@ | |||
61 | <li class="bold {% if activeRoute == 'archive' %}active{% endif %}"> | 61 | <li class="bold {% if activeRoute == 'archive' %}active{% endif %}"> |
62 | <a class="waves-effect" href="{{ path('archive') }}">{{ 'menu.left.archive'|trans }} <span class="numberItems grey-text">{{ count_entries('archive') }}</span></a> | 62 | <a class="waves-effect" href="{{ path('archive') }}">{{ 'menu.left.archive'|trans }} <span class="numberItems grey-text">{{ count_entries('archive') }}</span></a> |
63 | </li> | 63 | </li> |
64 | <li class="bold {% if activeRoute == 'with_annotations' %}active{% endif %}"> | 64 | <li class="bold {% if activeRoute == 'annotated' %}active{% endif %}"> |
65 | <a class="waves-effect" href="{{ path('with_annotations') }}">{{ 'menu.left.with_annotations'|trans }} <span class="numberItems grey-text">{{ count_entries('with_annotations') }}</span></a> | 65 | <a class="waves-effect" href="{{ path('annotated') }}">{{ 'menu.left.with_annotations'|trans }} <span class="numberItems grey-text">{{ count_entries('annotated') }}</span></a> |
66 | </li> | 66 | </li> |
67 | <li class="bold {% if activeRoute == 'all' %}active{% endif %}"> | 67 | <li class="bold {% if activeRoute == 'all' %}active{% endif %}"> |
68 | <a class="waves-effect" href="{{ path('all') }}">{{ 'menu.left.all_articles'|trans }} <span class="numberItems grey-text">{{ count_entries('all') }}</span></a> | 68 | <a class="waves-effect" href="{{ path('all') }}">{{ 'menu.left.all_articles'|trans }} <span class="numberItems grey-text">{{ count_entries('all') }}</span></a> |