Skip to content

Commit

Permalink
feat(project_management): Add attribute page_layout to Project State …
Browse files Browse the repository at this point in the history
…model

ref:  #248 #345 #346
  • Loading branch information
jon-nfc committed Nov 27, 2024
1 parent dc6f9d3 commit 9f8d2ac
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions app/project_management/models/project_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,36 @@ class Meta:
verbose_name = 'State Completed',
)


page_layout: dict = [
{
"name": "Details",
"slug": "details",
"sections": [
{
"layout": "double",
"left": [
'organization',
'name'
'runbook',
'is_global',
'is_completed',
],
"right": [
'model_notes'
'created',
'modified',
]
}
]
},
{
"name": "Notes",
"slug": "notes",
"sections": []
},
]

def __str__(self):

return self.name

0 comments on commit 9f8d2ac

Please sign in to comment.