From 50badb3fb6b6a7fa51520ce380ece09b0a181179 Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Thu, 14 Apr 2022 21:08:53 +0200 Subject: Various improvements related to the recent implementation of temporary passwords for mail shares: 1- Changes style of "forgot password?" and "Back" button 2- Adds information about share password's expiration time in the emails sent. 3- Shows password expiration time in the Share menu 4- Fixes an issue when the message "Password expires..." would be shown for non email share types (which don't have temporary passswords) 5- At share's creation, password should only be sent when it's a permanent one See also https://github.com/nextcloud/server/issues/31952 Signed-off-by: Cyrille Bollu Signed-off-by: nextcloud-command --- .../src/components/SharingEntryLink.vue | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'apps/files_sharing/src/components/SharingEntryLink.vue') diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index ee7e8d4b930..638cdf485b0 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -192,6 +192,12 @@ @submit="onPasswordSubmit"> {{ t('files_sharing', 'Enter a password') }} + + {{ t('files_sharing', 'Password expires {passwordExpirationTime}', {passwordExpirationTime}) }} + + + {{ t('files_sharing', 'Password expired') }} +