rename emptyfolder to emptycontent

This commit is contained in:
Alessandro Cosentino 2013-08-31 11:25:11 -04:00
parent 4b32d84314
commit b10a646bc8
3 changed files with 8 additions and 8 deletions

View File

@ -147,7 +147,7 @@ var FileList={
$('tr').filterAttr('data-file',name).remove();
FileList.updateFileSummary();
if($('tr[data-file]').length==0){
$('#emptyfolder').show();
$('#emptycontent').show();
}
},
insertElement:function(name,type,element){
@ -177,7 +177,7 @@ var FileList={
}else{
$('#fileList').append(element);
}
$('#emptyfolder').hide();
$('#emptycontent').hide();
FileList.updateFileSummary();
},
loadingDone:function(name, id){

View File

@ -6,7 +6,7 @@
<div id='notification'></div>
<?php if (isset($_['files']) && count($_['files']) === 0 && $_['dirlisting'] === false):?>
<div id="emptyfolder"><?php p($l->t('Nothing in here. Your trash bin is empty!'))?></div>
<div id="emptycontent"><?php p($l->t('Nothing in here. Your trash bin is empty!'))?></div>
<?php endif; ?>
<table id="filestable">

View File

@ -178,12 +178,12 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
#rightcontent, .rightcontent { position:fixed; top:6.4em; left:24.5em; overflow:auto }
#emptycontent {
font-size:1.5em; font-weight:bold;
font-size:1.5em; font-weight:bold;
color:#888; text-shadow:#fff 0 1px 0;
position: absolute;
text-align: center;
top: 50%;
width: 100%;
position: absolute;
text-align: center;
top: 50%;
width: 100%;
}