aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-28 11:22:34 +0100
committerVincent Petry <pvince81@owncloud.com>2013-10-28 14:14:55 +0100
commite62ca4ea4fc235d7ec767034a80889b2fa331e97 (patch)
tree545a37abaf90d57cccbb99fcf660331372a9ffc4 /apps/files/templates
parentc61d328ab9696a620b623fb2dfd1622eb0363dc4 (diff)
downloadnextcloud-server-e62ca4ea4fc235d7ec767034a80889b2fa331e97.tar.gz
nextcloud-server-e62ca4ea4fc235d7ec767034a80889b2fa331e97.zip
Append file etag to preview URLs
Fixes #5534
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/part.list.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index a6d2e44f34f..2f630e1f014 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -16,6 +16,7 @@ $totalsize = 0; ?>
data-type="<?php ($file['type'] == 'dir')?p('dir'):p('file')?>"
data-mime="<?php p($file['mimetype'])?>"
data-size="<?php p($file['size']);?>"
+ data-etag="<?php p($file['etag']);?>"
data-permissions="<?php p($file['permissions']); ?>">
<?php if($file['isPreviewAvailable']): ?>
<td class="filename svg preview-icon"