don't show empty trash bin message for sub folders
This commit is contained in:
parent
2d6efae257
commit
fc1fba2304
|
@ -94,6 +94,7 @@ $list->assign('disableDownloadActions', true);
|
|||
$tmpl->assign('breadcrumb', $breadcrumbNav->fetchPage(), false);
|
||||
$tmpl->assign('fileList', $list->fetchPage(), false);
|
||||
$tmpl->assign('files', $files);
|
||||
$tmpl->assign('dirlisting', $dirlisting);
|
||||
$tmpl->assign('dir', OC_Filesystem::normalizePath($view->getAbsolutePath()));
|
||||
|
||||
$tmpl->printPage();
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<div id='notification'></div>
|
||||
|
||||
<?php if (isset($_['files']) && count($_['files'])==0):?>
|
||||
<?php if (isset($_['files']) && count($_['files'])==0 && $_['dirlisting'] == false):?>
|
||||
<div id="emptyfolder"><?php echo $l->t('Nothing in here. Your trash bin is empty!')?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue