summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-21 22:18:10 +0200
committerVincent Petry <pvince81@owncloud.com>2013-10-21 22:18:10 +0200
commitd1c27e08e56562c7b522c43d1f1b485ee9f1cd77 (patch)
tree63625c8725d90a5dc550b50a425d69f27023c485 /apps/files/templates
parent732e7db31902e88e4ca6582c56af14b5e3d2bc39 (diff)
downloadnextcloud-server-d1c27e08e56562c7b522c43d1f1b485ee9f1cd77.tar.gz
nextcloud-server-d1c27e08e56562c7b522c43d1f1b485ee9f1cd77.zip
Fixed empty content logic
- Remove obsolete code that used another approach for hiding emptycontent - Fixed logic for the showing of the empty content message
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index c1373c3e9d5..5a686da43f8 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -1,6 +1,6 @@
<div id="controls">
<?php print_unescaped($_['breadcrumb']); ?>
- <div class="actions creatable <?php if (!$_['isCreatable']):?>hidden<?php endif; ?> <?php if (isset($_['files']) and count($_['files'])==0):?>emptycontent<?php endif; ?>">
+ <div class="actions creatable <?php if (!$_['isCreatable']):?>hidden<?php endif; ?>">
<div id="new" class="button">
<a><?php p($l->t('New'));?></a>
<ul>