summaryrefslogtreecommitdiffstats
path: root/templates/part.listfolder.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.listfolder.php')
-rw-r--r--templates/part.listfolder.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index c104303b5..3840aa85b 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -1,20 +1,20 @@
<li ng-class="{
- active: folderBusinessLayer.isActive(folder.id),
+ active: folderBusinessLayer.isActive(folder.id),
open: folder.opened && folderBusinessLayer.hasFeeds(folder.id),
collapsible: folderBusinessLayer.hasFeeds(folder.id),
unread: folderBusinessLayer.getUnreadCount(folder.id) != 0,
failed: folder.error
- }"
+ }"
ng-repeat="folder in folderBusinessLayer.getAll() | orderBy:'id':true"
ng-show="folderBusinessLayer.isVisible(folder.id) || !folder.id"
class="folder"
data-id="{{ folder.id }}"
droppable>
- <button class="collapse"
+ <button class="collapse"
ng-hide="folder.editing"
title="<?php p($l->t('Collapse'));?>"
ng-click="folderBusinessLayer.toggleFolder(folder.id)"></button>
- <div ui-if="folder.editing" class="rename-feed">
+ <div ng-show="folder.editing" class="rename-feed">
<input type="text" ng-model="folder.name" class="folder-input" autofocus>
<button title="<?php p($l->t('Cancel')); ?>"
ng-click="folderBusinessLayer.cancel(folder.id)"
@@ -24,7 +24,7 @@
class="action-button create-button action">
</button>
</div>
- <a href="#"
+ <a href="#"
class="title folder-icon"
ng-hide="folder.editing"
ng-click="folderBusinessLayer.load(folder.id)"
@@ -40,7 +40,7 @@
<button ng-click="folderBusinessLayer.delete(folder.id)"
ng-hide="folder.editing || !folder.id"
- class="svg action delete-icon delete-button"
+ class="svg action delete-icon delete-button"
title="<?php p($l->t('Delete folder')); ?>"
oc-tooltip></button>
@@ -48,8 +48,8 @@
ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0 && !folder.editing">
{{ unreadCountFormatter(folderBusinessLayer.getUnreadCount(folder.id)) }}
</span>
-
- <button class="svg action mark-read-icon"
+
+ <button class="svg action mark-read-icon"
ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0 && folder.id && !folder.editing"
ng-click="folderBusinessLayer.markRead(folder.id)"
title="<?php p($l->t('Mark read')); ?>"
@@ -71,6 +71,6 @@
<ul>
<?php print_unescaped($this->inc('part.listfeed', ['folderId' => 'folder.id'])); ?>
</ul>
-
+
<div class="message" ng-show="folder.error">{{ folder.error }}</div>
</li>