Skip to content

Commit fb0ded0

Browse files
Merge pull request #919 from NASA-IMPACT/add-button-colors
added button colors for additional buttons
2 parents 6b88467 + f0877db commit fb0ded0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sde_collections/models/collection.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,12 @@ def workflow_status_button_color(self) -> str:
544544
15: "btn-info",
545545
16: "btn-secondary",
546546
17: "btn-light",
547+
18: "btn-success",
548+
19: "btn-warning",
549+
20: "btn-info",
550+
21: "btn-success",
551+
22: "btn-light",
552+
23: "btn-light",
547553
}
548554
return color_choices[self.workflow_status]
549555

0 commit comments

Comments
 (0)