diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-19 22:38:17 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-21 15:02:21 +0200 |
commit | 977c4626987764933ce2ac25011ce160fd3e016e (patch) | |
tree | b6db97b8ac1225f5e2fdcfe815baf59a02e7c104 /apps | |
parent | 3a11c26cb49c7d5de3410075d86e165a8452a761 (diff) | |
download | nextcloud-server-977c4626987764933ce2ac25011ce160fd3e016e.tar.gz nextcloud-server-977c4626987764933ce2ac25011ce160fd3e016e.zip |
move the note up, so that it is also visible in the file drop view
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/templates/public.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 4aedf986962..81729c179fc 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -29,13 +29,14 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); <input type="hidden" name="filesize" value="<?php p($_['nonHumanFileSize']); ?>" id="filesize"> <?php endif; ?> <input type="hidden" name="maxSizeAnimateGif" value="<?php p($_['maxSizeAnimateGif']); ?>" id="maxSizeAnimateGif"> +<?php if (isset($_['note']) && $_['note'] !== '') : ?> + <div id="note"> + <?php p($l->t('Note:')); p(' ' . $_['note']); ?> + </div> +<?php endif; ?> + <?php if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) { ?> <div id="files-public-content"> - <?php if (isset($_['note']) && $_['note'] !== '') : ?> - <div id="note"> - <?php p($l->t('Note:')); p(' ' . $_['note']); ?> - </div> - <?php endif; ?> <div id="preview"> <?php if (isset($_['folder'])): ?> <?php print_unescaped($_['folder']); ?> |