Skip to content

Commit

Permalink
feat(settings): Add page_layout to AppSettings model
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-nfc committed Nov 27, 2024
1 parent 56dd268 commit 279967d
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion app/settings/models/app_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,28 @@ class Meta:

table_fields: list = []

page_layout: list = []
page_layout: list = [
{
"name": "Details",
"slug": "details",
"sections": [
{
"layout": "double",
"left": [
'global_organization',
],
"right": [
'device_model_is_global',
'device_type_is_global',
'manufacturer_is_global',
'software_is_global',
'software_categories_is_global',

]
}
]
}
]


def get_organization(self):
Expand Down

0 comments on commit 279967d

Please sign in to comment.