Skip to content

Commit f0877db

Browse files
added button colors for additional buttons
1 parent 6b88467 commit f0877db

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)