aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-04 20:53:28 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-04 20:53:28 +0200
commit429d86f388da856c9d8d9a649147c5212bee4258 (patch)
tree2dde16adfb069d26209a0c01c92a04eb9b502e54 /src/Wallabag/CoreBundle/Resources
parentc3b53188d75a01e92f2be7204fc961a7636a1827 (diff)
downloadwallabag-429d86f388da856c9d8d9a649147c5212bee4258.tar.gz
wallabag-429d86f388da856c9d8d9a649147c5212bee4258.tar.zst
wallabag-429d86f388da856c9d8d9a649147c5212bee4258.zip
Added tags counter in sidebar (material theme)
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml2
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index 1c1457e7..e95ef452 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -81,8 +81,6 @@ services:
81 factory: [ "@doctrine.orm.default_entity_manager", getRepository ] 81 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
82 arguments: 82 arguments:
83 - WallabagCoreBundle:Entry 83 - WallabagCoreBundle:Entry
84 calls:
85 - [ setLifeTime, [ "%wallabag_core.cache_lifetime%" ] ]
86 84
87 wallabag_core.tag_repository: 85 wallabag_core.tag_repository:
88 class: Wallabag\CoreBundle\Repository\TagRepository 86 class: Wallabag\CoreBundle\Repository\TagRepository
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 06ecbf3d..b70198da 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
@@ -47,7 +47,7 @@
47 <a class="waves-effect" href="{{ path('all') }}">{{ 'menu.left.all_articles'|trans }} <span class="numberItems grey-text">{{ count_entries('all') }}</span></a> 47 <a class="waves-effect" href="{{ path('all') }}">{{ 'menu.left.all_articles'|trans }} <span class="numberItems grey-text">{{ count_entries('all') }}</span></a>
48 </li> 48 </li>
49 <li class="bold border-bottom {% if currentRoute == 'tags' %}active{% endif %}"> 49 <li class="bold border-bottom {% if currentRoute == 'tags' %}active{% endif %}">
50 <a class="waves-effect" href="{{ path('tag') }}">{{ 'menu.left.tags'|trans }}</a> 50 <a class="waves-effect" href="{{ path('tag') }}">{{ 'menu.left.tags'|trans }} <span class="numberItems grey-text">{{ count_tags() }}</span></a>
51 </li> 51 </li>
52 <li class="bold {% if currentRoute == 'config' %}active{% endif %}"> 52 <li class="bold {% if currentRoute == 'config' %}active{% endif %}">
53 <a class="waves-effect" href="{{ path('config') }}">{{ 'menu.left.config'|trans }}</a> 53 <a class="waves-effect" href="{{ path('config') }}">{{ 'menu.left.config'|trans }}</a>