更新邮件模板编辑器

This commit is contained in:
jingrow 2026-05-16 22:32:46 +08:00
parent b0c5a3d9a9
commit bb6f1f2712
2 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,6 @@
"allow_rename": 1, "allow_rename": 1,
"autoname": "Prompt", "autoname": "Prompt",
"creation": "2014-06-19 05:20:26.331041", "creation": "2014-06-19 05:20:26.331041",
"pagetype": "PageType",
"document_type": "Document", "document_type": "Document",
"engine": "InnoDB", "engine": "InnoDB",
"field_order": [ "field_order": [
@ -26,7 +25,7 @@
{ {
"depends_on": "eval:!pg.use_html", "depends_on": "eval:!pg.use_html",
"fieldname": "response", "fieldname": "response",
"fieldtype": "Text Editor", "fieldtype": "Jeditor",
"in_list_view": 1, "in_list_view": 1,
"label": "Response", "label": "Response",
"mandatory_depends_on": "eval:!pg.use_html" "mandatory_depends_on": "eval:!pg.use_html"
@ -57,12 +56,13 @@
], ],
"icon": "fa fa-comment", "icon": "fa fa-comment",
"links": [], "links": [],
"modified": "2023-12-12 20:01:07.080625", "modified": "2026-05-16 22:32:07.029227",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Email", "module": "Email",
"name": "Email Template", "name": "Email Template",
"naming_rule": "Set by user", "naming_rule": "Set by user",
"owner": "Administrator", "owner": "Administrator",
"pagetype": "PageType",
"permissions": [ "permissions": [
{ {
"read": 1, "read": 1,
@ -81,6 +81,7 @@
"write": 1 "write": 1
} }
], ],
"row_format": "Dynamic",
"sort_field": "modified", "sort_field": "modified",
"sort_order": "DESC", "sort_order": "DESC",
"states": [], "states": [],

View File

@ -17,11 +17,9 @@ class EmailTemplate(Page):
if TYPE_CHECKING: if TYPE_CHECKING:
from jingrow.types import DF from jingrow.types import DF
response: DF.TextEditor | None
response_html: DF.Code | None response_html: DF.Code | None
subject: DF.Data subject: DF.Data
use_html: DF.Check use_html: DF.Check
# end: auto-generated types # end: auto-generated types
@property @property