summaryrefslogtreecommitdiffstats
path: root/templates/part.navigation.starredfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-09 15:09:34 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-09 15:09:34 +0200
commit03baa5ba68daa09110940c416b3cb065a9e9ca7a (patch)
treee4d76db78c422df49901733234814fcf08354234 /templates/part.navigation.starredfeed.php
parent319a6f848d6a28dfb44320e02bde0b3fab6c6bc3 (diff)
reorganize templates
Diffstat (limited to 'templates/part.navigation.starredfeed.php')
-rw-r--r--templates/part.navigation.starredfeed.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/part.navigation.starredfeed.php b/templates/part.navigation.starredfeed.php
new file mode 100644
index 000000000..fb185ee67
--- /dev/null
+++ b/templates/part.navigation.starredfeed.php
@@ -0,0 +1,19 @@
+<li ng-class="{
+ active: Navigation.isStarredActive(),
+ unread: Navigation.getStarredCount() > 0
+ }"
+ class="starred has-counter">
+
+ <a class="icon-starred" ng-href="#/items/starred/">
+ <?php p($l->t('Starred')) ?>
+ </a>
+
+ <div class="app-navigation-entry-utils">
+ <ul>
+ <li class="app-navigation-entry-utils-counter"
+ ng-show="Navigation.getStarredCount() > 0">
+ {{ Navigation.getStarredCount() | unreadCountFormatter }}
+ </li>
+ </ul>
+ </div>
+</li> \ No newline at end of file