diff --git a/input/assets/js/main.js b/input/assets/js/main.js index ba819f054..ef4c0a18c 100755 --- a/input/assets/js/main.js +++ b/input/assets/js/main.js @@ -506,14 +506,12 @@ function closeForm(formClassName) { function initializeEditableData(formClassName) { var formWrapper = $(formClassName); if (formWrapper.hasClass("in")) { - console.log('has class IN'); openForm(formClassName); } else { - console.log('CLOSES'); closeForm(formClassName); } - $("." + formClassName + "-show-btn").click(function(){ console.log('SHOWS BTN CLICKED'); openForm(formClassName); }); - $("." + formClassName + "-hide-btn").click(function(){ console.log('HIDE BTN CLICKED'); closeForm(formClassName); }); + $("." + formClassName + "-show-btn").click(function(){ openForm(formClassName); }); + $("." + formClassName + "-hide-btn").click(function(){ closeForm(formClassName); }); } initializeEditableData("personal-details-edit"); diff --git a/input/i18n/de/my-account.yaml b/input/i18n/de/my-account.yaml index 79b2032dd..c975ef8b0 100644 --- a/input/i18n/de/my-account.yaml +++ b/input/i18n/de/my-account.yaml @@ -10,6 +10,7 @@ myAccountSidebar: signOut: Abmelden changePassword: Passwort ändern personalDetails: + title: Ihre Benutzerdaten shopAllBtn: Alles bestellen updateBtn: Details aktualisieren cancelBtn: Abbrechen @@ -21,7 +22,15 @@ personalDetails: subtitle: Neue Saison, neuer Style welcomeBack: Willkommen zurück welcomeDescription: Für einen besseren Kundenservice geben Sie bitte Ihre Kundennummer an. - personalDetailsTitle: Ihre Benutzerdaten + subscribedToNewsletter: Subscribed to weekly newsletter + personalDetailsForm: + title: Title + firstName: First Name + lastName: Last Name + phone: Telephone Number + email: Email Address + password: Password + confirmPassword: Confirm Password addressBook: title : Addressbuch defaultAddresses: diff --git a/input/i18n/en/my-account.yaml b/input/i18n/en/my-account.yaml index 4efe891f7..4fc01b19a 100644 --- a/input/i18n/en/my-account.yaml +++ b/input/i18n/en/my-account.yaml @@ -10,6 +10,7 @@ myAccountSidebar: signOut: Sign Out changePassword: Change password personalDetails: + title: Your Personal Details shopAllBtn: Shop All updateBtn: Update Details cancelBtn: Cancel @@ -21,7 +22,16 @@ personalDetails: subtitle: Make the great days happen welcomeBack: Welcome back welcomeDescription: for an even better customer service please provide your customer number - personalDetailsTitle: Your Personal Details + subscribedToNewsletter: Subscribed to weekly newsletter + personalDetailsForm: + title: Title + firstName: First Name + lastName: Last Name + phone: Telephone Number + email: Email Address + password: Password + confirmPassword: Confirm Password + subscribeToNewsletter: Please add me to the Sunrise Newsletter addressBook: title : Address Book defaultAddresses: diff --git a/input/templates/my-account-change-password.hbs b/input/templates/my-account-change-password.hbs index 0ea485e66..492c8bba7 100644 --- a/input/templates/my-account-change-password.hbs +++ b/input/templates/my-account-change-password.hbs @@ -29,8 +29,10 @@