feat(cabana): mail templates list grouped by template with per-locale status
Gap G-35-1 (supersedes D-05; D-06 reset and D-07 drift per locale): - the templates list keeps one row per template (the base row, or the lowest variant when only variants ship) with a Customized locales column (Default, then locale codes, at most three then +N); - row states and the status filter aggregate over the template's locale versions; the locale filter is removed; - a not-customized locale without a file shows the base row's current subject, body and layout; its info partial says so, its file version compares with the base file, and Reset returns it to the base file (postcard.ResetOverride accepts a fallback-locale code); - copy: mail.template.customized_locales, mail.info_locale_default, mail.info_locale_fallback (en/pl); - tests: TestMailScreensSmoke/locales_list, templates and drift updated, TestMailDrift on the grouped row, TestMailTemplateFilterScopes.
This commit is contained in:
@@ -9,9 +9,8 @@ columns:
|
||||
description:
|
||||
label: backend::lang.mail.template.description
|
||||
searchable: true
|
||||
locale:
|
||||
label: backend::lang.mail.template.locale
|
||||
sortable: true
|
||||
customized_locales:
|
||||
label: backend::lang.mail.template.customized_locales
|
||||
layout:
|
||||
label: backend::lang.mail.template.layout
|
||||
relation: layout
|
||||
|
||||
Reference in New Issue
Block a user