mirror of
https://github.com/nextcloud/server.git
synced 2026-05-18 11:30:42 -04:00
hide download button for images
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
580feb4501
commit
4136eed054
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