Files
summercms/modules/cabana/backendscreens/models/mailtemplate/fields.yaml
Jakub Zych 7efb9ed7ad feat(cabana): mail templates screen over postcard overrides
- Settings -> Mail -> Mail templates in the internal pseudo-plugin when
  postcard's Mailer is published; system.manage_mail_templates and
  system.manage_mail_layouts registered with no role grants
- MailTemplate/MailLayout models, catalog-scoped list and form, layout
  relation over file and custom layouts, no create or delete
- save stamps is_custom, base_hash and customized_at and validates the
  override through postcard.Editor inside the save transaction
- serve-start postcard.SyncIndex through lagoon.OnDatabase, retried on
  the first mail list request
- copy en/pl, README and docs; TestMailScreensSmoke/templates

Plan 35-02, task 1
2026-11-13 11:45:13 +01:00

24 lines
745 B
YAML

fields:
subject:
label: backend::lang.mail.template.subject
comment: backend::lang.mail.template.subject_comment
type: text
span: left
required: true
tab: backend::lang.mail.template.tab_template
layout:
label: backend::lang.mail.template.layout
comment: backend::lang.mail.template.layout_comment
type: relation
nameFrom: name
span: right
required: true
tab: backend::lang.mail.template.tab_template
body:
label: backend::lang.mail.template.body
comment: backend::lang.mail.template.body_comment
type: markdown
size: giant
span: full
tab: backend::lang.mail.template.tab_template