Files
sm-journal-plugin/controllers/posts/config_list.yaml
Jakub Zych 4ff98f7de8 feat(15-02): register journal export/import commands and Posts toolbar
JSON CLI matching PHP ExportPosts/ImportPosts ships as HasCommands, and Posts toolbar actions reuse that logic behind access_import_export.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-06 18:47:53 +02:00

27 lines
799 B
YAML

list: ~/plugins/golem15/journal/models/post/columns.yaml
modelClass: Golem15\Journal\Models\Post
title: golem15.journal::lang.post.label_plural
recordUrl: golem15/journal/posts/update/:id
noRecordsMessage: backend::lang.list.no_records
recordsPerPage: 25
showCheckboxes: true
showSetup: true
showSorting: true
filter: config_filter.yaml
defaultSort:
column: published_at
direction: desc
toolbar:
buttons: [create, delete, exportPosts, importPosts]
search:
prompt: backend::lang.list.search_prompt
messages:
create: golem15.journal::lang.posts.new_post
empty: backend::lang.list.no_records
deleteConfirm: golem15.journal::lang.post.delete_confirm
deleted: backend::lang.messages.list.deleted
rowStateDisabled: golem15.journal::lang.journal.chart_drafts