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>
This commit is contained in:
Sangramsinh Desai 2021-08-30 10:29:21 +05:30 committed by sangramsinh.desai@t-systems.com
parent f6119b7f23
commit ce8a8c0c83

View file

@ -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; ?>