diff --git a/dmp-frontend/src/app/ui/user-profile/user-profile.component.html b/dmp-frontend/src/app/ui/user-profile/user-profile.component.html index b6f7152ea..45d1e982f 100644 --- a/dmp-frontend/src/app/ui/user-profile/user-profile.component.html +++ b/dmp-frontend/src/app/ui/user-profile/user-profile.component.html @@ -59,8 +59,8 @@ - diff --git a/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss b/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss index 244266b3c..9c0c64c50 100644 --- a/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss +++ b/dmp-frontend/src/app/ui/user-profile/user-profile.component.scss @@ -210,6 +210,18 @@ background-color: #f4f8f9; } +.disable-unlink{ + opacity: 0.3; +} + +.disable-unlink:hover{ + cursor: not-allowed; +} + +.disable-unlink:active{ + pointer-events: none; +} + .add-new-btn { margin-top: 2rem; } diff --git a/dmp-frontend/src/assets/i18n/de.json b/dmp-frontend/src/assets/i18n/de.json index 00deac97b..392e4bf0a 100644 --- a/dmp-frontend/src/assets/i18n/de.json +++ b/dmp-frontend/src/assets/i18n/de.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Link new", "LINK-NEW-ACCOUNT": "Link new account", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", "CANCEL": "Cancel" } diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 00f2cc29c..a608c8ca0 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Link new", "LINK-NEW-ACCOUNT": "Link new account", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", "CANCEL": "Cancel" } diff --git a/dmp-frontend/src/assets/i18n/es.json b/dmp-frontend/src/assets/i18n/es.json index a7a64d590..b970ca792 100644 --- a/dmp-frontend/src/assets/i18n/es.json +++ b/dmp-frontend/src/assets/i18n/es.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Nuevo enlace", "LINK-NEW-ACCOUNT": "Enlazar nueva cuenta", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Añadir", "CANCEL": "Cancelar" } diff --git a/dmp-frontend/src/assets/i18n/gr.json b/dmp-frontend/src/assets/i18n/gr.json index 0c4b43a3f..e1846708d 100644 --- a/dmp-frontend/src/assets/i18n/gr.json +++ b/dmp-frontend/src/assets/i18n/gr.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Link new", "LINK-NEW-ACCOUNT": "Link new account", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", "CANCEL": "Cancel" } diff --git a/dmp-frontend/src/assets/i18n/hr.json b/dmp-frontend/src/assets/i18n/hr.json index 91e5a150f..8328c3b4a 100644 --- a/dmp-frontend/src/assets/i18n/hr.json +++ b/dmp-frontend/src/assets/i18n/hr.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Poveži novo", "LINK-NEW-ACCOUNT": "Poveži novi korisnički račun", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Unesi", "CANCEL": "Poništi" } diff --git a/dmp-frontend/src/assets/i18n/pl.json b/dmp-frontend/src/assets/i18n/pl.json index b389d0ed5..bf8762b7d 100644 --- a/dmp-frontend/src/assets/i18n/pl.json +++ b/dmp-frontend/src/assets/i18n/pl.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Połącz nowy", "LINK-NEW-ACCOUNT": "Połącz nowe konto", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Dodaj", "CANCEL": "Anuluj" } diff --git a/dmp-frontend/src/assets/i18n/pt.json b/dmp-frontend/src/assets/i18n/pt.json index ca0829710..2373b0288 100644 --- a/dmp-frontend/src/assets/i18n/pt.json +++ b/dmp-frontend/src/assets/i18n/pt.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Ligar a nova(o)", "LINK-NEW-ACCOUNT": "Ligar a nova conta", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Adicionar", "CANCEL": "Cancelar" } diff --git a/dmp-frontend/src/assets/i18n/sk.json b/dmp-frontend/src/assets/i18n/sk.json index 97338d263..0c8415251 100644 --- a/dmp-frontend/src/assets/i18n/sk.json +++ b/dmp-frontend/src/assets/i18n/sk.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Link new", "LINK-NEW-ACCOUNT": "Link new account", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", "CANCEL": "Cancel" } diff --git a/dmp-frontend/src/assets/i18n/sr.json b/dmp-frontend/src/assets/i18n/sr.json index 6bf583b60..8904496f7 100644 --- a/dmp-frontend/src/assets/i18n/sr.json +++ b/dmp-frontend/src/assets/i18n/sr.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Link new", "LINK-NEW-ACCOUNT": "Link new account", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Add", "CANCEL": "Cancel" } diff --git a/dmp-frontend/src/assets/i18n/tr.json b/dmp-frontend/src/assets/i18n/tr.json index 1eadddbe4..6e360736f 100644 --- a/dmp-frontend/src/assets/i18n/tr.json +++ b/dmp-frontend/src/assets/i18n/tr.json @@ -1748,6 +1748,7 @@ "LINK-NEW": "Yeni bağlantı", "LINK-NEW-ACCOUNT": "Yeni hesabı bağla", "UNLINK-ACCOUNT": "Unlink", + "UNLINK-ACCOUNT-DISABLED": "You can't unlink your main profile's email", "ADD": "Ekle", "CANCEL": "İptal" }