We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee711ed + aa1c7eb commit ac00734Copy full SHA for ac00734
1 file changed
apps/files_sharing/templates/public.php
@@ -77,10 +77,12 @@
77
<div>
78
<?php p($_['filename'])?> (<?php p($_['fileSize']) ?>)
79
</div>
80
- <a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button">
81
- <span class="icon icon-download"></span>
82
- <?php p($l->t('Download'))?>
83
- </a>
+ <?php if (!$_['hideDownload']) { ?>
+ <a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button">
+ <span class="icon icon-download"></span>
+ <?php p($l->t('Download'))?>
84
+ </a>
85
+ <?php } ?>
86
87
<?php } ?>
88
<?php endif; ?>
0 commit comments