Linting.
This commit is contained in:
parent
c20fde41ee
commit
a31cce0ff9
|
@ -91,8 +91,8 @@
|
||||||
<Detail>Description</Detail>
|
<Detail>Description</Detail>
|
||||||
<Body>{description}</Body>
|
<Body>{description}</Body>
|
||||||
<Body
|
<Body
|
||||||
>Change the email template here. Add dynamic content by using the bindings
|
>Change the email template here. Add dynamic content by using the bindings
|
||||||
menu on the right.</Body
|
menu on the right.</Body
|
||||||
>
|
>
|
||||||
</Layout>
|
</Layout>
|
||||||
<Tabs selected="Edit" on:select={fixMountBug}>
|
<Tabs selected="Edit" on:select={fixMountBug}>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
category: {
|
category: {
|
||||||
displayName: "Category",
|
displayName: "Category",
|
||||||
editable: false,
|
editable: false,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
$: emailInfo = getEmailInfo($email.definitions)
|
$: emailInfo = getEmailInfo($email.definitions)
|
||||||
|
|
|
@ -97,7 +97,8 @@ const TemplateMetadata = {
|
||||||
[TemplateTypes.EMAIL]: [
|
[TemplateTypes.EMAIL]: [
|
||||||
{
|
{
|
||||||
name: "Base format",
|
name: "Base format",
|
||||||
description: "This is the base template, all others are based on it. The {{ body }} will be replaced with another email template.",
|
description:
|
||||||
|
"This is the base template, all others are based on it. The {{ body }} will be replaced with another email template.",
|
||||||
category: "miscellaneous",
|
category: "miscellaneous",
|
||||||
purpose: EmailTemplatePurpose.BASE,
|
purpose: EmailTemplatePurpose.BASE,
|
||||||
bindings: [
|
bindings: [
|
||||||
|
@ -113,7 +114,8 @@ const TemplateMetadata = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Password recovery",
|
name: "Password recovery",
|
||||||
description: "When a user requests a password reset, this template will be used.",
|
description:
|
||||||
|
"When a user requests a password reset, this template will be used.",
|
||||||
category: "user management",
|
category: "user management",
|
||||||
purpose: EmailTemplatePurpose.PASSWORD_RECOVERY,
|
purpose: EmailTemplatePurpose.PASSWORD_RECOVERY,
|
||||||
bindings: [
|
bindings: [
|
||||||
|
@ -131,14 +133,16 @@ const TemplateMetadata = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "User welcome",
|
name: "User welcome",
|
||||||
description: "When a new user is added to the system, the welcome email will use this template.",
|
description:
|
||||||
|
"When a new user is added to the system, the welcome email will use this template.",
|
||||||
category: "user management",
|
category: "user management",
|
||||||
purpose: EmailTemplatePurpose.WELCOME,
|
purpose: EmailTemplatePurpose.WELCOME,
|
||||||
bindings: [],
|
bindings: [],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "User invitation",
|
name: "User invitation",
|
||||||
description: "When using the email invitation system, this template will be used.",
|
description:
|
||||||
|
"When using the email invitation system, this template will be used.",
|
||||||
category: "user management",
|
category: "user management",
|
||||||
purpose: EmailTemplatePurpose.INVITATION,
|
purpose: EmailTemplatePurpose.INVITATION,
|
||||||
bindings: [
|
bindings: [
|
||||||
|
@ -156,7 +160,8 @@ const TemplateMetadata = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Custom",
|
name: "Custom",
|
||||||
description: "A custom format, this is currently used for SMTP email actions in automations.",
|
description:
|
||||||
|
"A custom format, this is currently used for SMTP email actions in automations.",
|
||||||
category: "automations",
|
category: "automations",
|
||||||
purpose: EmailTemplatePurpose.CUSTOM,
|
purpose: EmailTemplatePurpose.CUSTOM,
|
||||||
bindings: [
|
bindings: [
|
||||||
|
|
Loading…
Reference in New Issue