From 7515db2d80cc880d9808111343d108aa1c6d3220 Mon Sep 17 00:00:00 2001 From: gold-dev Date: Fri, 13 Mar 2026 10:58:24 +0000 Subject: [PATCH] Feat: 202603 - truckwash.dk and truckwash.io edits - V10 8-13 --- src/assets/main.css | 29 ++- src/i18n/locales/da.json | 15 +- src/i18n/locales/de.json | 1 + src/i18n/locales/en.json | 1 + src/i18n/locales/no.json | 1 + src/i18n/locales/sv.json | 1 + .../userDashboard/profile/UserProfile.vue | 176 ++++++++---------- .../displays/Passkeys/PasskeyManagement.vue | 50 +++-- .../TwoFactor/TwoFactorManagement.vue | 35 ++-- 9 files changed, 175 insertions(+), 134 deletions(-) diff --git a/src/assets/main.css b/src/assets/main.css index 7542abb5..2d85b217 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -98,4 +98,31 @@ textarea.has-sharp-edges { /*}*/ /*button.is-link {*/ /* background-color: #1584BC;*/ -/*}*/ \ No newline at end of file +/*}*/ + +.mt-30 { + margin-top: 30px !important; +} + +.cell .card-content .field{ + width: 100%; +} + +.cell .card-content .field .label{ + font-weight: 800; +} + +@media screen and (max-width: 768px) { + .mb-8-mobile{ + margin-bottom: 8px !important; + } +} + +@media screen and (min-width: 769px) { + .ml-16-tablet { + margin-left: 16px !important; + } + .mt-30-tablet { + margin-top: 30px !important; + } +} \ No newline at end of file diff --git a/src/i18n/locales/da.json b/src/i18n/locales/da.json index c47d850a..21a5817f 100644 --- a/src/i18n/locales/da.json +++ b/src/i18n/locales/da.json @@ -3641,8 +3641,8 @@ "booking_email": "E-mail til bookinger", "booking_email_desc": "Den e-mailadresse, der modtager booking bekræftelser og vaskecertifikater.", "description": "Dine notifikationsindstillinger", - "edit_booking_email": "Rediger e-mail til booking bekræftelse", - "edit_sms_phone": "Rediger telefonnummer til SMS notifikationer", + "edit_booking_email": "Rediger", + "edit_sms_phone": "Rediger", "email_notifications": "E-mail notifikationer", "email_notifications_desc": "Modtag e-mails med bookingbekræftelser og vaskecertifikater.", "email_subtitle": "E-mail", @@ -3654,10 +3654,11 @@ "title": "Notifikationer" }, "security": { - "change_password": "Skift adgangskode", + "password_label": "Adgangskode", + "change_password": "Rediger", "description": "Dine sikkerhedsindstillinger", - "edit_email": "Rediger e-mail", - "edit_phone": "Rediger telefonnummer", + "edit_email": "Rediger", + "edit_phone": "Rediger", "email_desc": "Vi bruger denne e-mail til at nulstille din adgangskode, fremsende vaskecertifikater og andre vigtige oplysninger.", "logout": "Log ud", "title": "Sikkerhed" @@ -3852,7 +3853,7 @@ "passkeys": { "title": "Passkeys", "description": "Brug passkey til at logge sikkert ind med biometri som Face ID, Touch ID eller din enheds PIN-kode.", - "add_passkey": "Tilføj passkey", + "add_passkey": "Tilføj", "rename_passkey": "Omdøb passkey", "delete_passkey": "Slet passkey", "no_passkeys": "Du har ikke tilføjet nogen passkeys endnu. Tilføj en for at aktivere login uden adgangskode.", @@ -3886,7 +3887,7 @@ "status_disabled": "To-faktor-godkendelse er deaktiveret", "status_enabled_desc": "Din konto er beskyttet med et ekstra bekræftelsestrin.", "status_disabled_desc": "Aktiver to-faktor-godkendelse for forbedret sikkerhed.", - "enable_button": "Aktiver to-faktor-godkendelse", + "enable_button": "Aktiver", "disable_button": "Deaktiver to-faktor-godkendelse", "setup_title": "Opsæt to-faktor-godkendelse", "setup_step1": "Scan denne QR-kode med din godkendelsesapp (Google Authenticator, Authy, osv.):", diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index 38a022f0..8a41f132 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -3653,6 +3653,7 @@ "title": "Notifications" }, "security": { + "password_label": "Passwort", "change_password": "Change password", "description": "Your security settings", "edit_email": "Edit email", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 3e9bdbe1..f0ad87ae 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -3654,6 +3654,7 @@ "title": "Notifications" }, "security": { + "password_label": "Password", "change_password": "Change password", "description": "Your security settings", "edit_email": "Edit email", diff --git a/src/i18n/locales/no.json b/src/i18n/locales/no.json index a9364f29..3453b0cb 100644 --- a/src/i18n/locales/no.json +++ b/src/i18n/locales/no.json @@ -3653,6 +3653,7 @@ "title": "Notifications" }, "security": { + "password_label": "Passord", "change_password": "Change password", "description": "Your security settings", "edit_email": "Edit email", diff --git a/src/i18n/locales/sv.json b/src/i18n/locales/sv.json index 19585e1a..9cf2b718 100644 --- a/src/i18n/locales/sv.json +++ b/src/i18n/locales/sv.json @@ -3653,6 +3653,7 @@ "title": "Notifications" }, "security": { + "password_label": "Lösenord", "change_password": "Change password", "description": "Your security settings", "edit_email": "Edit email", diff --git a/src/views/dashboards/userDashboard/profile/UserProfile.vue b/src/views/dashboards/userDashboard/profile/UserProfile.vue index 2d46acba..a2b50634 100644 --- a/src/views/dashboards/userDashboard/profile/UserProfile.vue +++ b/src/views/dashboards/userDashboard/profile/UserProfile.vue @@ -543,7 +543,6 @@ const onClickSaveWashCertificateEmail = async () => { { - - - - -
- +
+ - +
+ +
+ +
+ + +
+
+ +
+ - -
@@ -793,30 +789,30 @@ const onClickSaveWashCertificateEmail = async () => { - - - +
+ + + +

{ v-bind:value="SessionUser.user.notifications.email_notifications_enabled.value" :on-switch="(value) => SessionUser.user.notifications.setEmailNotificationsEnabled(value)" /> -
- - - - - +
+ + + +

{ :on-switch="(value) => SessionUser.user.notifications.setSmsNotificationsEnabled(value)" />
+