diff options
Diffstat (limited to 'templates/part.feed.starred.php')
-rw-r--r-- | templates/part.feed.starred.php | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/templates/part.feed.starred.php b/templates/part.feed.starred.php index 15f5e0a07..48e3eda8a 100644 --- a/templates/part.feed.starred.php +++ b/templates/part.feed.starred.php @@ -1,18 +1,14 @@ -<li ng-class="{ - active: starredBusinessLayer.isActive(0), - unread: starredBusinessLayer.getUnreadCount() > 0 - }" - ng-show="starredBusinessLayer.isVisible(0)" +<li ng-class="{ + active: Navigation.isStarredActive(), + unread: Navigation.getStarredCount() > 0 + }" class="starred"> - <a class="starred-icon" - href="#" - ng-click="starredBusinessLayer.load(0)" - oc-click-focus="{selector: '#app-content'}"> + <a class="starred-icon" href="#/items/starred"> <?php p($l->t('Starred')) ?> </a> <span class="utils"> <span class="unread-counter"> - {{ unreadCountFormatter(starredBusinessLayer.getUnreadCount()) }} + {{ Navigation.getStarredCount() | unreadCountFormatter }} </span> </span> </li>
\ No newline at end of file |