aboutsummaryrefslogtreecommitdiffstats
path: root/files/js
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2011-09-25 22:32:16 +0200
committerBartek Przybylski <bart.p.pl@gmail.com>2011-09-25 22:32:16 +0200
commit63e6863222b92d7fc2e6ca5ccb3ab79688594348 (patch)
tree1d3b342b6eec3d4a0ec379cba4986dd43ba7216c /files/js
parentbc43851d74e8fceea1c914e98a8cd571b84610d5 (diff)
parent17e631bc5e327514596ce8761fe7f93d414a8717 (diff)
downloadnextcloud-server-63e6863222b92d7fc2e6ca5ccb3ab79688594348.tar.gz
nextcloud-server-63e6863222b92d7fc2e6ca5ccb3ab79688594348.zip
Merge branch 'master' of git://gitorious.org/owncloud/owncloud
Diffstat (limited to 'files/js')
-rw-r--r--files/js/filelist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/js/filelist.js b/files/js/filelist.js
index ae9e7977c95..66092220795 100644
--- a/files/js/filelist.js
+++ b/files/js/filelist.js
@@ -27,7 +27,7 @@ FileList={
lastModifiedTime=Math.round(lastModified.getTime() / 1000);
modifiedColor=Math.round((Math.round((new Date()).getTime() / 1000)-lastModifiedTime)/60/60/24*14);
html+='<td class="filesize" title="'+humanFileSize(size)+'" style="color:rgb('+sizeColor+','+sizeColor+','+sizeColor+')">'+simpleSize+'</td>';
- html+='<td class="date" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</td>';
+ html+='<td class="date"><span class="modified" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</span></td>';
html+='</tr>';
FileList.insertElement(name,'file',$(html));
if(loading){
@@ -48,7 +48,7 @@ FileList={
lastModifiedTime=Math.round(lastModified.getTime() / 1000);
modifiedColor=Math.round((Math.round((new Date()).getTime() / 1000)-lastModifiedTime)/60/60/24*5);
html+='<td class="filesize" title="'+humanFileSize(size)+'" style="color:rgb('+sizeColor+','+sizeColor+','+sizeColor+')">'+simpleSize+'</td>';
- html+='<td class="date" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</td>';
+ html+='<td class="date"><span class="modified" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</span></td>';
html+='</tr>';
FileList.insertElement(name,'dir',$(html));