Go-To Actions with transactions emails (#5728)
* feat: go-to actions for emails * fix: comment * fix: tsc without previewText * fix: goToAction * fix: link to original template * fix: final comments
This commit is contained in:
@@ -39,8 +39,9 @@ Webhook settings: ${teamUrl}/settings/webhooks
|
||||
}
|
||||
|
||||
protected render({ webhookName, teamUrl }: Props) {
|
||||
const webhookSettingsLink = `${teamUrl}/settings/webhooks`;
|
||||
return (
|
||||
<EmailTemplate>
|
||||
<EmailTemplate previewText={this.preview({ webhookName } as Props)}>
|
||||
<Header />
|
||||
|
||||
<Body>
|
||||
@@ -52,9 +53,7 @@ Webhook settings: ${teamUrl}/settings/webhooks
|
||||
</p>
|
||||
<EmptySpace height={10} />
|
||||
<p>
|
||||
<Button href={teamUrl + "/settings/webhooks"}>
|
||||
Webhook settings
|
||||
</Button>
|
||||
<Button href={webhookSettingsLink}>Webhook settings</Button>
|
||||
</p>
|
||||
</Body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user