summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php1
-rw-r--r--templates/part.feed.unread.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php
index d0cac8fa6..e2679115a 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -22,6 +22,7 @@
<!-- navigation -->
<div id="app-navigation" ng-controller="NavigationController as Navigation" ng-hide="App.loading.isLoading('global')">
+ <news-title-unread-count unread-count="{{ Navigation.getUnreadCount() }}"></news-title-unread-count>
<ul class="with-icon" data-folder-id="0" news-droppable>
<?php print_unescaped($this->inc('part.addnew')) ?>
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index ff91c55c1..f3375cef0 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -15,7 +15,7 @@
</div>
<span class="utils">
- <span class="unread-counter" ng-show="getUnreadCount() > 0">
+ <span class="unread-counter" ng-show="Navigation.getUnreadCount() > 0">
{{ Navigation.getUnreadCount() | unreadCountFormatter }}
</span>
<!--