Skip to content

Commit

Permalink
Fix a few cases of unreadable badges
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jan 23, 2025
1 parent 99f879a commit 406bb6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion workbench/invoices/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def status_badge(self):
css = {
self.IN_PREPARATION: "info",
self.SENT: "success",
self.PAID: "default",
self.PAID: "light",
self.CANCELED: "danger",
}[self.status]

Expand Down
4 changes: 2 additions & 2 deletions workbench/offers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ def status_badge(self):
else:
css = {
self.IN_PREPARATION: "info",
self.SERVICE_GROUP: "default",
self.SERVICE_GROUP: "light",
self.OFFERED: "success",
self.ACCEPTED: "default",
self.ACCEPTED: "light",
self.DECLINED: "danger",
}[self.status]

Expand Down

0 comments on commit 406bb6e

Please sign in to comment.