0.8.22 admin options change

This commit is contained in:
SDE
2023-12-02 16:09:56 +03:00
parent 36fff15e2b
commit efd75817bc

View File

@@ -100,12 +100,12 @@ class Admin_Option(Admin_Trans_BaseModel):
(_('Контент'), {
'classes': ['wide'],
'fields': (
'name', 'opt_type', 'value', 'prefix', 'picture'
'name', 'opt_type', 'prefix', 'value', 'picture'
)
}),
]
list_display = ['image_thumb', 'opt_type', 'name', 'prefix', 'value']
list_display = ['image_thumb', 'opt_type', 'name', 'value', 'prefix']
list_editable = ['value', 'prefix']
list_filter = ['opt_type']