mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-25 09:22:21 +00:00
Fancy training level list layout
This commit is contained in:
@@ -138,6 +138,8 @@ class TrainingLevel(models.Model, RevisionMixin):
|
||||
elif self.department == 2:
|
||||
return "danger"
|
||||
elif self.department == 3:
|
||||
return "warning"
|
||||
elif self.department == 4:
|
||||
return "light"
|
||||
else:
|
||||
return "primary"
|
||||
|
||||
Reference in New Issue
Block a user