From 7f36f08a66106c9ee54fa872f9361c3c5393d40e Mon Sep 17 00:00:00 2001 From: Henri Remonen Date: Fri, 5 May 2023 13:06:17 +0300 Subject: [PATCH] Contact ticket formatting --- .../ContactPage/SendContactTicket.tsx | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/client/components/ContactPage/SendContactTicket.tsx b/src/client/components/ContactPage/SendContactTicket.tsx index 8b315055..55320c02 100644 --- a/src/client/components/ContactPage/SendContactTicket.tsx +++ b/src/client/components/ContactPage/SendContactTicket.tsx @@ -43,39 +43,39 @@ const SendContactTicket = () => { const onSubmit = async ({ content }: { content: string }) => { const targets = [ticketEmail] - const text = ` -
-

- + const text = ` \ +
\ +

\ + \ Curre Contact Ticket - -

-

+ \ +

\ +

\ ********** - ${t('contact:contactTicketSenderEmail')} ${user?.email} - + ${t('contact:contactTicketSenderEmail')} ${user?.email} \ + \ - ${t('contact:contactTicketSenderFullname')} ${user?.firstName} ${ + ${t('contact:contactTicketSenderFullname')} ${user?.firstName} ${ user?.lastName - } - -

-

+ } \ + \ +

\ +

\ ********** - ${t('contact:contactTicketUserMessage')} - - ${content} -

-

+ ${t('contact:contactTicketUserMessage')} \ + \ + ${content} \ +

\ +

\ ********** - ${t('contact:contactTicketUserSummary')} - - ${resultHTML} -

-
+ ${t('contact:contactTicketUserSummary')} \ + \ + ${resultHTML} \ +

\ + \ ` await sendResultsToEmail(targets, text)