[FIX] project: fix project update default
Prior to this commit, the case where the update status was not set is not handled in the STATUS COLOR mapping. This commit associate a lighten dark color to the unset update status. See PR : #68899 See task-2393768 PR : #70527 task-2458135
This commit is contained in:
committed by
Laurent Stukkens (LTU)
parent
22cd824772
commit
741663f9de
@@ -13,6 +13,7 @@ STATUS_COLOR = {
|
||||
'at_risk': 2, # orange
|
||||
'off_track': 23, # red / danger
|
||||
'on_hold': 4, # light blue
|
||||
False: 0, # default grey -- for studio
|
||||
}
|
||||
|
||||
class ProjectUpdate(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user