0.0.21 how dev block
This commit is contained in:
@@ -24,7 +24,11 @@ class Admin_Inline_WidgetForBlock(SuperInlineModelAdmin, Admin_Trans_BaseIconSta
|
||||
(None, {
|
||||
'classes': [],
|
||||
'fields': [
|
||||
('title', 'description', 'picture'),
|
||||
(
|
||||
# 'title',
|
||||
'name', 'description', 'text',
|
||||
'picture'
|
||||
),
|
||||
('bg_color', ),
|
||||
('but_title', 'but_color', 'but_icon'),
|
||||
('url', 'order'),
|
||||
@@ -47,7 +51,9 @@ class Admin_StackedInline_Block(Admin_Trans_GenericBaseIconStackedInline, SuperI
|
||||
(None, {
|
||||
'classes': [],
|
||||
'fields': [
|
||||
('block_type', 'title', 'description', 'picture'),
|
||||
('block_type',
|
||||
# 'title',
|
||||
'name', 'description', 'picture'),
|
||||
('bg_color', 'bg_image'),
|
||||
('but_title', 'but_color', 'but_icon'),
|
||||
('url',),
|
||||
@@ -71,7 +77,8 @@ class Admin_StaticPage(SuperModelAdmin, Admin_Trans_BaseModelViewPage):
|
||||
'classes': ['wide'],
|
||||
'fields': ('name',
|
||||
'url',
|
||||
'title', 'description', 'text',
|
||||
# 'title',
|
||||
'description', 'text',
|
||||
'picture',
|
||||
'order',
|
||||
)
|
||||
@@ -87,7 +94,8 @@ class Admin_StaticPage(SuperModelAdmin, Admin_Trans_BaseModelViewPage):
|
||||
|
||||
list_display = [
|
||||
'id',
|
||||
'name', 'url', 'title',
|
||||
'name', 'url',
|
||||
# 'title',
|
||||
'order', 'modifiedDT', 'createDT'
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user