diff --git a/jslib b/jslib index 24fe836032..2db9e1ce0d 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 24fe836032354d4ec39435776e54dd0995e1b389 +Subproject commit 2db9e1ce0d7a702f07f20ecb916dd8191ff617e1 diff --git a/src/app/services.module.ts b/src/app/services.module.ts index 019e3af386..dd5012315f 100644 --- a/src/app/services.module.ts +++ b/src/app/services.module.ts @@ -130,7 +130,7 @@ const passwordGenerationService = new PasswordGenerationService(cryptoService, s const totpService = new TotpService(storageService, cryptoFunctionService, logService); const containerService = new ContainerService(cryptoService); const authService = new AuthService(cryptoService, apiService, userService, tokenService, appIdService, - i18nService, platformUtilsService, messagingService, vaultTimeoutService, logService); + i18nService, platformUtilsService, messagingService, vaultTimeoutService, logService, cryptoFunctionService); const exportService = new ExportService(folderService, cipherService, apiService, cryptoService); const auditService = new AuditService(cryptoFunctionService, apiService); const notificationsService = new NotificationsService(userService, syncService, appIdService, diff --git a/src/app/vault/add-edit-custom-fields.component.html b/src/app/vault/add-edit-custom-fields.component.html index fc519f4794..40f65c4758 100644 --- a/src/app/vault/add-edit-custom-fields.component.html +++ b/src/app/vault/add-edit-custom-fields.component.html @@ -16,13 +16,21 @@
+ + + +
+ @@ -39,6 +47,7 @@ +
{{'newCustomField' | i18n}} @@ -46,6 +55,9 @@
diff --git a/src/app/vault/add-edit.component.html b/src/app/vault/add-edit.component.html index d7f4ecec45..7345ef53a5 100644 --- a/src/app/vault/add-edit.component.html +++ b/src/app/vault/add-edit.component.html @@ -281,7 +281,8 @@ - + +
{{'ownership' | i18n}} diff --git a/src/app/vault/view-custom-fields.component.html b/src/app/vault/view-custom-fields.component.html index 0649434305..189fd150c4 100644 --- a/src/app/vault/view-custom-fields.component.html +++ b/src/app/vault/view-custom-fields.component.html @@ -18,6 +18,13 @@ {{field.value}}
+
+
+ + {{'linkedValue' | i18n}} +
+ {{cipher.linkedFieldI18nKey(field.linkedId) | i18n}} +
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 1610f8ef9b..6d45ad9802 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -268,6 +268,9 @@ "lastName": { "message": "Last Name" }, + "fullName": { + "message": "Full Name" + }, "address1": { "message": "Address 1" }, @@ -328,6 +331,14 @@ "cfTypeBoolean": { "message": "Boolean" }, + "cfTypeLinked": { + "message": "Linked", + "description": "This describes a field that is 'linked' (related) to another field." + }, + "linkedValue": { + "message": "Linked value", + "description": "This describes a value that is 'linked' (related) to another value." + }, "remove": { "message": "Remove" }, diff --git a/src/scss/box.scss b/src/scss/box.scss index 3e5dedb62d..c8b9ff0f3e 100644 --- a/src/scss/box.scss +++ b/src/scss/box.scss @@ -409,4 +409,21 @@ background-color: $brand-primary; } } + + .icon { + display: flex; + justify-content: center; + align-items: center; + min-width: 34px; + height: 100%; + margin-left: -5px; + + @include themify($themes) { + color: themed('mutedColor'); + } + + &.icon-small { + min-width: 25px; + } + } }