diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2017-09-23 13:50:01 +0200 |
---|---|---|
committer | Bernhard Posselt <BernhardPosselt@users.noreply.github.com> | 2017-09-23 13:50:01 +0200 |
commit | 41e97eb7f5ca0c0595c61187da8ffcdbc1b2c844 (patch) | |
tree | 528cb2593f648cc2142afada89f63cdda7ad4c32 /templates/part.navigation.feed.php | |
parent | 44245fda63a00c0d6f4a44295b1457d9d23a9f84 (diff) |
App to css guidelines (#220)
* Editing and deletion
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Always collapsible
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates/part.navigation.feed.php')
-rw-r--r-- | templates/part.navigation.feed.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/part.navigation.feed.php b/templates/part.navigation.feed.php index 08c510c14..0f9bbaee2 100644 --- a/templates/part.navigation.feed.php +++ b/templates/part.navigation.feed.php @@ -1,7 +1,10 @@ <li ng-class="{ active: Navigation.isFeedActive(feed.id), unread: Navigation.isFeedUnread(feed.id), - updateerror: feed.updateErrorCount>50 + updateerror: feed.updateErrorCount>50, + deleted: feed.deleted, + editing: feed.editing, + 'icon-loading-small': !(feed.id || feed.error) }" ng-repeat="feed in Navigation.getFeedsOfFolder(<?php p($_['folderId']); ?>) | orderBy:['-pinned', 'title.toLowerCase()'] track by feed.url" @@ -29,7 +32,7 @@ }"> <a ng-style="{ backgroundImage: 'url(' + feed.faviconLink + ')'}" - ng-show="!feed.editing && !feed.deleted && !feed.error && feed.id" + ng-show="!feed.error && feed.id" ng-href="#/items/feeds/{{ feed.id }}/" class="title" ng-class="{'icon-rss': !feed.faviconLink}" @@ -37,8 +40,8 @@ {{ feed.title }} </a> - <a ng-hide="feed.id || feed.error" - class="entry-loading title" + <a ng-if="!(feed.id || feed.error)" + class="title" title="{{ feed.title }}"> {{ feed.title }} </a> |