Skip to content

Commit

Permalink
Merge pull request #919 from NASA-IMPACT/add-button-colors
Browse files Browse the repository at this point in the history
added button colors for additional buttons
  • Loading branch information
bishwaspraveen authored Aug 1, 2024
2 parents 6b88467 + f0877db commit fb0ded0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sde_collections/models/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,12 @@ def workflow_status_button_color(self) -> str:
15: "btn-info",
16: "btn-secondary",
17: "btn-light",
18: "btn-success",
19: "btn-warning",
20: "btn-info",
21: "btn-success",
22: "btn-light",
23: "btn-light",
}
return color_choices[self.workflow_status]

Expand Down

0 comments on commit fb0ded0

Please sign in to comment.