feat: SEO change history
This commit is contained in:
28
models/revision/columns.yaml
Normal file
28
models/revision/columns.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
# History list columns (UI-SPEC C12). via_label, change and batch are
|
||||
# filled by the controller's ListExtendRecords.
|
||||
columns:
|
||||
created_at:
|
||||
label: golem15.seo::lang.history.when
|
||||
type: datetime
|
||||
sortable: true
|
||||
author_label:
|
||||
label: golem15.seo::lang.history.who
|
||||
type: text
|
||||
searchable: true
|
||||
via_label:
|
||||
label: golem15.seo::lang.history.via
|
||||
type: text
|
||||
sortable: false
|
||||
what:
|
||||
label: golem15.seo::lang.history.what
|
||||
type: text
|
||||
searchable: true
|
||||
change:
|
||||
label: golem15.seo::lang.history.change
|
||||
type: text
|
||||
sortable: false
|
||||
batch:
|
||||
label: golem15.seo::lang.history.batch
|
||||
type: text
|
||||
sortable: false
|
||||
invisible: true
|
||||
28
models/revision/fields.yaml
Normal file
28
models/revision/fields.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
# History preview (UI-SPEC C12): read-only fields, then the P5 diff.
|
||||
fields:
|
||||
created_at:
|
||||
label: golem15.seo::lang.history.when
|
||||
type: text
|
||||
span: left
|
||||
context: preview
|
||||
author_label:
|
||||
label: golem15.seo::lang.history.who
|
||||
type: text
|
||||
span: right
|
||||
context: preview
|
||||
via:
|
||||
label: golem15.seo::lang.history.via
|
||||
type: text
|
||||
span: left
|
||||
context: preview
|
||||
what:
|
||||
label: golem15.seo::lang.history.what
|
||||
type: text
|
||||
span: right
|
||||
context: preview
|
||||
_history_diff:
|
||||
label: golem15.seo::lang.history.change
|
||||
type: partial
|
||||
path: history_diff
|
||||
span: full
|
||||
context: preview
|
||||
Reference in New Issue
Block a user