diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-31 01:12:20 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-31 01:12:20 +0200 |
commit | 82f0a877a001ead0bd0cdd76d96fe46a071535d8 (patch) | |
tree | a37f50a00c77c5e6afd1790ccde75ab3639c6c96 /templates/part.feed.starred.php | |
parent | 32f2759945521129e00a7cd4933682ff63d9440f (diff) |
add active and unread stuff
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 |