diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-24 16:45:40 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-24 16:45:40 +0200 |
commit | ac2c925231253847bfa0fc99f5002b3f92a5b8f1 (patch) | |
tree | f0627735087fadf55abdc23310d2aba89f76924c /apps/files_sharing/templates | |
parent | 3cb52b868a0eba7bdfb6a03fed24447873735dd6 (diff) | |
download | nextcloud-server-ac2c925231253847bfa0fc99f5002b3f92a5b8f1.tar.gz nextcloud-server-ac2c925231253847bfa0fc99f5002b3f92a5b8f1.zip |
Fix mobile view and add public share note view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 1c552b7d476..da80f8d1377 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -30,8 +30,15 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); <?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 id="notemenu" class="hidden"> + <div class="icon-comment-white menutoggle" tabindex="0" role="button" aria-haspopup="true" aria-controls="note-content" aria-expanded="false"> + <span class="hidden-visually"><?php p($l->t('Share note'))?></span> + </div> + <div id="note-content" class="menu" aria-label="Note content"> + <div class="content"> + <?php p($_['note']); ?> + </div> + </div> </div> <?php endif; ?> |