diff --git a/src/translation/en.json b/src/translation/en.json index a3d7461f2..7bdf7ff07 100644 --- a/src/translation/en.json +++ b/src/translation/en.json @@ -788,7 +788,7 @@ "reportPlaceholder": "Describe your issue", "emailPlaceholder": "If needed, provide an email address different from above to reach you", "emailVerifyAction": "Verify now", - "emailNotVerified": "Please verify the cloudron.io account email first to ensure we are able to contact you." + "emailNotVerified": "Your cloudron.io account email {{ email }} is not verified. Please verify it to open support tickets." }, "remoteSupport": { "title": "Remote Support", diff --git a/src/views/support.html b/src/views/support.html index d7c51ca00..84eb02d4f 100644 --- a/src/views/support.html +++ b/src/views/support.html @@ -16,6 +16,11 @@
+
+

{{ 'support.ticket.emailNotVerified' | tr:{ email: subscription.email } }}

+

{{ 'support.ticket.emailVerifyAction' | tr }}

+
+
@@ -49,15 +54,9 @@ {{ 'support.ticket.sshCheckbox' | tr }}
- + {{feedback.error}} {{feedback.result.message}} - -
-
-

{{ 'support.ticket.emailNotVerified' | tr }}

- {{ 'support.ticket.emailVerifyAction' | tr }} -
@@ -79,7 +78,7 @@

{{ toggleSshSupportError }} - + diff --git a/src/views/support.js b/src/views/support.js index 3878c9ae6..8b1618a65 100644 --- a/src/views/support.js +++ b/src/views/support.js @@ -91,6 +91,7 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat if (error && error.statusCode === 412) return; // not yet registered if (error) return console.error(error); + console.log(result); $scope.subscription = result; }); }