diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-26 14:09:16 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-26 14:09:16 +0200 |
commit | fd30989a186db2a68afa1bd24b3cf39b8ce94ef3 (patch) | |
tree | ed662cd28d46fa213da35928a35f7e0cac41d3d9 /src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | |
parent | efea7a352f947a3632095d95a7dfbb07b8fd86c7 (diff) | |
download | wallabag-fd30989a186db2a68afa1bd24b3cf39b8ce94ef3.tar.gz wallabag-fd30989a186db2a68afa1bd24b3cf39b8ce94ef3.tar.zst wallabag-fd30989a186db2a68afa1bd24b3cf39b8ce94ef3.zip |
Enhanced tests and changed routewith-annotations-route
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig')
-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> |