diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-07-22 10:59:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-22 10:59:33 +0200 |
commit | b6c67f585e6d0576ff589ea39de87fe09cfd673c (patch) | |
tree | 4f714af8c5d50ee92e381b7016925ae0d7589342 /apps/files_sharing/templates/public.php | |
parent | ce7c62d9bb1bffab09e0a35af08677370dc68dcc (diff) | |
parent | b2b4691e480d358bd221281788f4f46ec0e4d018 (diff) | |
download | nextcloud-server-b6c67f585e6d0576ff589ea39de87fe09cfd673c.tar.gz nextcloud-server-b6c67f585e6d0576ff589ea39de87fe09cfd673c.zip |
Merge pull request #5827 from nextcloud/improve-public-share-header
Add filename and sharer in public page
Diffstat (limited to 'apps/files_sharing/templates/public.php')
-rw-r--r-- | apps/files_sharing/templates/public.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index f8067a03d02..36b4dcdbe1c 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -36,13 +36,15 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); <header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>"> <div id="header-left"> - <a href="<?php print_unescaped(link_to('', 'index.php')); ?>" - title="" id="nextcloud"> + <span id="nextcloud"> <div class="logo logo-icon svg"></div> <h1 class="header-appname"> - <?php p($theme->getName()); ?> + <?php p($_['filename']); ?> </h1> - </a> + <div class="header-shared-by"> + <?php echo p($l->t('shared by %s', [$_['displayName']])); ?> + </div> + </span> </div> <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div> |