Skip to content

Commit

Permalink
feat(itam): Add page_layout to SoftwareVersion model
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-nfc committed Nov 27, 2024
1 parent 5129a8d commit 16927fc
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion app/itam/models/software.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,40 @@ class Meta:

# model does not have it's own page
# as it's a secondary model.
page_layout: list = []
page_layout: list = [
{
"name": "Details",
"slug": "details",
"sections": [
{
"layout": "double",
"left": [
'organization',
'software',
'name',
'created',
'modified',
],
"right": [
'model_notes',
'is_virtual',
'is_global',
]
},
]
},
{
"name": "Tickets",
"slug": "tickets",
"sections": [
# {
# "layout": "table",
# "field": "tickets",
# }
],
},

]

table_fields: list = [
'name',
Expand Down

0 comments on commit 16927fc

Please sign in to comment.