mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #31254 from nextcloud/backport/31169/stable22
[stable22] hide download button for images
This commit is contained in:
commit
df808f1af8
1 changed files with 6 additions and 4 deletions
|
|
@ -77,10 +77,12 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
|
|||
<div>
|
||||
<?php p($_['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'))?>
|
||||
</a>
|
||||
<?php if (!$_['hideDownload']) { ?>
|
||||
<a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button">
|
||||
<span class="icon icon-download"></span>
|
||||
<?php p($l->t('Download'))?>
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue