From b2b4691e480d358bd221281788f4f46ec0e4d018 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 21 Jul 2017 18:28:36 +0200 Subject: [PATCH] Add filename and sharer in public page * shows the filename and sharer on the public page * allows the user to identify, that this is a user page and not an official page of the Nextcloud hosting * remove link on logo that redirects to login (fixes #5720) Signed-off-by: Morris Jobke --- apps/files_sharing/css/public.scss | 10 ++++++++++ apps/files_sharing/templates/public.php | 10 ++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index 9c8c4a6663..6d9fcf14ef 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -215,3 +215,13 @@ thead { max-width: 400px; text-align: left; } + +#header .header-shared-by { + display: inline-block; + color: $color-primary-text; + position: relative; + top: -10px; + font-weight: 300; + font-size: 12px; + margin-top: 10px; +} diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index f8067a03d0..36b4dcdbe1 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);