diff --git a/jslib b/jslib index 00122ab166f..ff9343412e8 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 00122ab166f67622e9ba799c656c8b6dfece64fc +Subproject commit ff9343412e886cf4bcb2cabf2cce003024917ce8 diff --git a/src/app/send/access.component.html b/src/app/send/access.component.html index bda2fefce05..a022fc09c46 100644 --- a/src/app/send/access.component.html +++ b/src/app/send/access.component.html @@ -1,7 +1,12 @@
-
-
+
+

Bitwarden Send

+
+
+

A Bitwarden user {{creatorIdentifier}} shared the following with you.

+
+
{{'downloadFile' | i18n}} ({{send.file.sizeName}}) +

Expires: {{expirationDate | date: 'medium'}}

+
+

{{'sendAccessTaglineProductDesc' | i18n}}
+ {{'sendAccessTaglineLearnMore' | i18n}} Bitwarden Send {{'sendAccessTaglineOr' | i18n}} {{'sendAccessTaglineSignUp' | i18n}} {{'sendAccessTaglineTryToday' | i18n}} +

+
+ diff --git a/src/app/send/access.component.ts b/src/app/send/access.component.ts index 380879574bd..e0a48b86f64 100644 --- a/src/app/send/access.component.ts +++ b/src/app/send/access.component.ts @@ -56,6 +56,20 @@ export class AccessComponent implements OnInit { return this.showText ? this.send.text.text : this.send.text.maskedText; } + get expirationDate() { + if (this.send == null || this.send.expirationDate == null) { + return null; + } + return this.send.expirationDate; + } + + get creatorIdentifier() { + if (this.send == null || this.send.creatorIdentifier == null) { + return null; + } + return this.send.creatorIdentifier; + } + ngOnInit() { this.route.params.subscribe(async params => { this.id = params.sendId; diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index a677dbbe879..cbb8348d425 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -3688,5 +3688,25 @@ "send": { "message": "Send", "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." + }, + "sendAccessTaglineProductDesc": { + "message": "Bitwarden Send transmits sensitive, temporary information to others easily and securely.", + "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." + }, + "sendAccessTaglineLearnMore": { + "message": "Learn more about", + "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read '**Learn more about** Bitwarden Send or sign up to try it today.'" + }, + "sendAccessTaglineOr": { + "message": "or", + "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send **or** sign up to try it today.'" + }, + "sendAccessTaglineSignUp": { + "message": "sign up", + "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send or **sign up** to try it today.'" + }, + "sendAccessTaglineTryToday": { + "message": "to try it today.", + "description": "This will be used as part of a larger sentence, broken up to include links. The full sentence will read 'Learn more about Bitwarden Send or sign up to **try it today.**'" } }