diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index 551c707ae0..fd363c4bbf 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -811,6 +811,9 @@ "expirationYear": { "message": "Expiration Year" }, + "expiration": { + "message": "Expiration" + }, "january": { "message": "January" }, @@ -877,6 +880,9 @@ "lastName": { "message": "Last Name" }, + "identityName": { + "message": "Identity Name" + }, "company": { "message": "Company" }, @@ -895,6 +901,9 @@ "phone": { "message": "Phone" }, + "address": { + "message": "Address" + }, "address1": { "message": "Address 1" }, diff --git a/src/popup/app/components/actionButtonsComponent.js b/src/popup/app/components/actionButtonsComponent.js index 1964686a3e..1bb70e645a 100644 --- a/src/popup/app/components/actionButtonsComponent.js +++ b/src/popup/app/components/actionButtonsComponent.js @@ -28,7 +28,7 @@ angular }; ctrl.clipboardError = function (e) { - toastr.info(i18n.browserNotSupportClipboard); + toastr.info(i18nService.browserNotSupportClipboard); }; ctrl.clipboardSuccess = function (e, type, aType) { diff --git a/src/popup/app/vault/views/vaultViewCipher.html b/src/popup/app/vault/views/vaultViewCipher.html index e542fa3139..71a10065f3 100644 --- a/src/popup/app/vault/views/vaultViewCipher.html +++ b/src/popup/app/vault/views/vaultViewCipher.html @@ -90,20 +90,12 @@
-
- - - -
{{i18n.cardholderName}} - {{cipher.card.cardholderName}} + {{cipher.card.cardholderName}}
{{i18n.number}} - {{cipher.card.number}} + {{cipher.card.number}} +
+
+ {{i18n.brand}} + {{cipher.card.brand}} +
+
+ {{i18n.expiration}} + {{cipher.card.expMonth ? ('0' + cipher.card.expMonth).slice(-2) : '-'}}/{{cipher.card.expYear || '-'}} +
+
+
+ + + +
+ {{i18n.securityCode}} + {{cipher.card.code}}
-
- {{i18n.firstName}} +
+ {{i18n.identityName}} + {{cipher.identity.title}} {{cipher.identity.firstName}} -
-
- {{i18n.middleName}} {{cipher.identity.middleName}} -
-
- {{i18n.lastName}} {{cipher.identity.lastName}}
+
+ {{i18n.username}} + {{cipher.identity.username}} +
+
+ {{i18n.company}} + {{cipher.identity.company}} +
+
+ {{i18n.ssn}} + {{cipher.identity.ssn}} +
+
+ {{i18n.passportNumber}} + {{cipher.identity.passportNumber}} +
+
+ {{i18n.licenseNumber}} + {{cipher.identity.licenseNumber}} +
+
+ {{i18n.email}} + {{cipher.identity.email}} +
+
+ {{i18n.phone}} + {{cipher.identity.phone}} +
+
+ {{i18n.address}} +
{{cipher.identity.address1}}
+
{{cipher.identity.address2}}
+
{{cipher.identity.address3}}
+
+ {{cipher.identity.city || '-'}}, + {{cipher.identity.state || '-'}}, + {{cipher.identity.postalCode || '-'}} +
+
{{cipher.identity.country}}
+