ORIENT/plugins/rainlab/blog/models/post/columns.yaml

62 lines
1.4 KiB
YAML

columns:
id:
label: ID
type: text
searchable: true
title:
label: 'rainlab.blog::lang.post.title'
type: text
searchable: true
categories:
label: 'rainlab.blog::lang.post.categories'
type: text
searchable: false
select: name
relation: categories
locale:
label: Language
type: text
sortable_views:
label: Views
type: number
created_at:
label: 'rainlab.blog::lang.post.created'
type: datetime
invisible: true
updated_at:
label: 'rainlab.blog::lang.post.updated'
type: datetime
invisible: true
published_at:
label: 'rainlab.blog::lang.post.published'
type: datetime
featured:
label: Featured
type: switch
user_id:
label: Author
type: text
searchable: false
sortable: true
select: login
relation: user
type_post:
label: 'Main Cat'
type: text
searchable: false
invisible: true
sortable: true
category_group:
label: 'Cat Group'
type: text
searchable: false
sortable: true
select: name
relation: category_groups
author_id:
label: Awtor
type: text
sortable: false
select: name
relation: awtor