summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/templates
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-07-08 10:53:53 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-07-08 10:53:53 +0200
commit04292ff16c56d85216ddbd6f644e8055413c0170 (patch)
treed05dfd86565997c95a33f536b34a3a904e38c531 /apps/files_trashbin/templates
parent6e864e6599602609b5808ae4d043b273a9fe5071 (diff)
downloadnextcloud-server-04292ff16c56d85216ddbd6f644e8055413c0170.tar.gz
nextcloud-server-04292ff16c56d85216ddbd6f644e8055413c0170.zip
implement use of preview icons in thrashbin app
Diffstat (limited to 'apps/files_trashbin/templates')
-rw-r--r--apps/files_trashbin/templates/part.list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/templates/part.list.php b/apps/files_trashbin/templates/part.list.php
index 92a38bd2635..d53e38549d1 100644
--- a/apps/files_trashbin/templates/part.list.php
+++ b/apps/files_trashbin/templates/part.list.php
@@ -27,7 +27,7 @@
<?php if($file['type'] == 'dir'): ?>
style="background-image:url(<?php print_unescaped(OCP\mimetype_icon('dir')); ?>)"
<?php else: ?>
- style="background-image:url(<?php print_unescaped(OCP\mimetype_icon($file['mimetype'])); ?>)"
+ style="background-image:url(<?php print_unescaped(OCA\Files_Trashbin\Trashbin::preview_icon($file['name'].'.d'.$file['timestamp'])); ?>)"
<?php endif; ?>
>
<?php if(!isset($_['readonly']) || !$_['readonly']): ?><input type="checkbox" /><?php endif; ?>