summaryrefslogtreecommitdiffstats
path: root/templates/part.listfeed.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-11 15:30:31 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-11 15:30:55 +0100
commit5492e60510379add1523454f322def81167be8be (patch)
tree8fff208ff6492758cff1b17aae7ec02c797cd322 /templates/part.listfeed.php
parente10d99e13da782e4c4bed03974bb10959ed333b4 (diff)
new style and style cleanup for the news app
Diffstat (limited to 'templates/part.listfeed.php')
-rw-r--r--templates/part.listfeed.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index e462d7683..e7af0f282 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -1,4 +1,4 @@
-<li ng-class="{active: isFeedActive(feedType.Feed, feed.id), all_read: feed.unreadCount==0}"
+<li ng-class="{active: isFeedActive(feedType.Feed, feed.id), unread: feed.unreadCount!=0}"
ng-repeat="feed in feeds|feedInFolder:<?php p($_['folderId']); ?>"
ng-show="feed.show"
data-id="{{feed.id}}"
@@ -10,15 +10,18 @@
ng-click="loadFeed(feedType.Feed, feed.id)">
{{feed.name}}
</a>
- <span class="unread_items_counter">
+
+ <span class="utils">
+ <span class="unread-counter">
{{ getUnreadCount(feedType.Feed, feed.id) }}
- </span>
- <span class="buttons">
+ </span>
+
<button ng-click="delete(feedType.Feed, feed.id)"
- class="svg action feeds_delete"
+ class="svg action delete-icon"
title="<?php p($l->t('Delete feed')); ?>"></button>
- <button class="svg action feeds_markread"
+
+ <button class="svg action mark-read-icon"
ng-click="markAllRead(feedType.Feed, feed.id)"
title="<?php p($l->t('Mark all read')); ?>"></button>
</span>
-</li> \ No newline at end of file
+</li>