Skip to content

Commit

Permalink
Contact ticket formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed May 5, 2023
1 parent f4a1bb7 commit 7f36f08
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/client/components/ContactPage/SendContactTicket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,39 +43,39 @@ const SendContactTicket = () => {
const onSubmit = async ({ content }: { content: string }) => {
const targets = [ticketEmail]

const text = `
<div>
<h3>
<strong>
const text = ` \
<div> \
<h3> \
<strong> \
Curre Contact Ticket
</strong>
</h3>
<p>
</strong> \
</h3> \
<p> \
**********
<strong>
${t('contact:contactTicketSenderEmail')} ${user?.email}
</strong>
${t('contact:contactTicketSenderEmail')} ${user?.email} \
</strong> \
<strong>
${t('contact:contactTicketSenderFullname')} ${user?.firstName} ${
${t('contact:contactTicketSenderFullname')} ${user?.firstName} ${
user?.lastName
}
</strong>
</p>
<p>
} \
</strong> \
</p> \
<p> \
**********
<strong>
${t('contact:contactTicketUserMessage')}
</strong>
${content}
</p>
<p>
${t('contact:contactTicketUserMessage')} \
</strong> \
${content} \
</p> \
<p> \
**********
<strong>
${t('contact:contactTicketUserSummary')}
</strong>
${resultHTML}
</p>
</div>
${t('contact:contactTicketUserSummary')} \
</strong> \
${resultHTML} \
</p> \
</div> \
`

await sendResultsToEmail(targets, text)
Expand Down

0 comments on commit 7f36f08

Please sign in to comment.