mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
settings: include custom email template setting
This commit is contained in:
parent
51768958c6
commit
4d3acb2c4c
@ -891,6 +891,36 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"template_email": {
|
||||||
|
"order": [],
|
||||||
|
"meta": {
|
||||||
|
"name": "Custom email template",
|
||||||
|
"description": "Settings for the template used for announcements & custom messages. HTML should include {{ .text }}, Plaintext should include {{ .plaintext }}, and either can have {{ .message }} to include the contact message.",
|
||||||
|
"advanced": true
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"email_html": {
|
||||||
|
"name": "Custom template email (HTML)",
|
||||||
|
"required": false,
|
||||||
|
"requires_restart": false,
|
||||||
|
"advanced": true,
|
||||||
|
"depends_true": "enabled",
|
||||||
|
"type": "text",
|
||||||
|
"value": "",
|
||||||
|
"description": "Path to custom email HTML template for announcements/custom messages."
|
||||||
|
},
|
||||||
|
"email_text": {
|
||||||
|
"name": "Custom template email (plaintext)",
|
||||||
|
"required": false,
|
||||||
|
"requires_restart": false,
|
||||||
|
"advanced": true,
|
||||||
|
"depends_true": "enabled",
|
||||||
|
"type": "text",
|
||||||
|
"value": "",
|
||||||
|
"description": "Path to custom email text template for announcements/custom messages."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"notifications": {
|
"notifications": {
|
||||||
"order": [],
|
"order": [],
|
||||||
"meta": {
|
"meta": {
|
||||||
|
Loading…
Reference in New Issue
Block a user