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>
pull/28643/head
Sangramsinh Desai 2021-08-30 10:29:21 +07:00 committed by sangramsinh.desai@t-systems.com
parent f6119b7f23
commit ce8a8c0c83
1 changed files with 4 additions and 1 deletions

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