summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-02-06 23:03:16 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-02-06 23:03:16 +0100
commit55e52d594578e4f22dc2f038ddd036a3abe02dbf (patch)
tree208f690fa0e492552c3b42103792173b14112043 /templates
parentd3528d56b8fce33a340908d331745150199abe28 (diff)
do not show unread count and mark read if folder editing mode is active
Diffstat (limited to 'templates')
-rw-r--r--templates/part.listfolder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index 49a83eb24..0e0f74d7f 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -45,12 +45,12 @@
oc-tooltip></button>
<span class="unread-counter"
- ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0">
+ ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0 && !folder.editing">
{{ unreadCountFormatter(folderBusinessLayer.getUnreadCount(folder.id)) }}
</span>
<button class="svg action mark-read-icon"
- ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0 && folder.id"
+ ng-show="folderBusinessLayer.getUnreadCount(folder.id) > 0 && folder.id && !folder.editing"
ng-click="folderBusinessLayer.markRead(folder.id)"
title="<?php p($l->t('Mark read')); ?>"
oc-tooltip></button>