summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/part.list.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-12 20:53:45 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-06-12 20:53:45 +0200
commit27fcdb3af5d1b1012695a09e04c0a654a1dde710 (patch)
tree6de492454c862852de3f51bd8834e2012139b5ac /apps/files/templates/part.list.php
parent46e5e9bd73a68f7b50bb79f883a8bc6efacaca97 (diff)
parent3584d48d65900b15dc3ef6831926f4a52e508625 (diff)
downloadnextcloud-server-27fcdb3af5d1b1012695a09e04c0a654a1dde710.tar.gz
nextcloud-server-27fcdb3af5d1b1012695a09e04c0a654a1dde710.zip
Merge branch 'master' into files_encryption_upgrade_fix
Conflicts: apps/files_encryption/tests/crypt.php
Diffstat (limited to 'apps/files/templates/part.list.php')
-rw-r--r--apps/files/templates/part.list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 1719d25e660..1e94275dcba 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -3,12 +3,12 @@
<?php foreach($_['files'] as $file):
$simple_file_size = OCP\simple_file_size($file['size']);
// the bigger the file, the darker the shade of grey; megabytes*2
- $simple_size_color = intval(200-$file['size']/(1024*1024)*2);
+ $simple_size_color = intval(160-$file['size']/(1024*1024)*2);
if($simple_size_color<0) $simple_size_color = 0;
$relative_modified_date = OCP\relative_modified_date($file['mtime']);
// the older the file, the brighter the shade of grey; days*14
$relative_date_color = round((time()-$file['mtime'])/60/60/24*14);
- if($relative_date_color>200) $relative_date_color = 200;
+ if($relative_date_color>160) $relative_date_color = 160;
$name = rawurlencode($file['name']);
$name = str_replace('%2F', '/', $name);
$directory = rawurlencode($file['directory']);