diff --git a/src/components/ContentComponents/Feedback/FeedbackModal.tsx b/src/components/ContentComponents/Feedback/FeedbackModal.tsx index ec231bf1550e08103b6b39a06ec2136916511ae6..fd04583d7eca241ce860bf75408e243a8bb1889b 100644 --- a/src/components/ContentComponents/Feedback/FeedbackModal.tsx +++ b/src/components/ContentComponents/Feedback/FeedbackModal.tsx @@ -17,7 +17,7 @@ import OtherOffIcon from 'assets/icons/visu/feedback/other-off.svg' import errorIcon from 'assets/icons/visu/data-nok.svg' import successIcon from 'assets/icons/visu/data-ok.svg' -const FEEDBACK_EMAIL = 'yoan.vallet@soprasteria.com' +const FEEDBACK_EMAIL = 'ecolyo@grandlyon.com' const browser = detect() interface FeedbackModalProps { @@ -73,7 +73,7 @@ const FeedbackModal: React.FC<FeedbackModalProps> = ({ const mailContent = 'Type: ' + - type + + t('feedback.type_' + type) + '\n\nDescription:\n' + description + '\n\nEmail: ' + @@ -84,7 +84,7 @@ const FeedbackModal: React.FC<FeedbackModalProps> = ({ const mailData = { mode: 'from', to: [{ name: 'Support', email: FEEDBACK_EMAIL }], - subject: '[Ecolyo] - Feedbacks - ' + type, + subject: '[Ecolyo] - Feedbacks - ' + t('feedback.type_' + type), parts: [{ type: 'text/plain', body: mailContent }], } try { diff --git a/src/styles/components/_feedback.scss b/src/styles/components/_feedback.scss index 885c18a4d0af115fb0919928a6415c517f710966..cbaad1d07fb95689dc580c30a9acc10e1edb91b9 100644 --- a/src/styles/components/_feedback.scss +++ b/src/styles/components/_feedback.scss @@ -16,10 +16,10 @@ display: flex; flex-direction: column; .fb-content-success{ - color: $multi-color; + color: $text-bright; } .fb-content-error{ - color: $red-primary; + color: $text-bright; } .fb-icon { display: flex;