move the note up, so that it is also visible in the file drop view

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2018-07-19 22:38:17 +02:00 committed by John Molakvoæ (skjnldsv)
parent 3a11c26cb4
commit 977c462698
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 6 additions and 5 deletions

View File

@ -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']); ?>