summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorSangramsinh Desai <sangramsinh.desai@t-systems.com>2021-08-30 10:29:21 +0530
committersangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>2021-09-02 09:48:48 +0530
commitce8a8c0c83eaf9ab6a57b73bfcd76522c82ca1e3 (patch)
tree12cfa6c807004db32e32fff532432028b750bd8e /apps/files_sharing/templates
parentf6119b7f23d821c2eab2b63a1c6265dcaa586fdc (diff)
downloadnextcloud-server-ce8a8c0c83eaf9ab6a57b73bfcd76522c82ca1e3.tar.gz
nextcloud-server-ce8a8c0c83eaf9ab6a57b73bfcd76522c82ca1e3.zip
Guest view download button seperated for video
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com> Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index b2d72a3c337..27621a0340f 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -75,9 +75,12 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<?php endif; ?>
<?php if ($_['previewURL'] === $_['downloadURL'] && !$_['hideDownload']): ?>
<div class="directDownload">
+ <div>
+ <?php p($l->t('%s', [$_['filename']]))?> (<?php p($_['fileSize']) ?>)
+ </div>
<a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button">
<span class="icon icon-download"></span>
- <?php p($l->t('Download %s', [$_['filename']]))?> (<?php p($_['fileSize']) ?>)
+ <?php p($l->t('Download'))?>
</a>
</div>
<?php endif; ?>