Skip to content
Snippets Groups Projects
Verified Commit 0815bb8e authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Use new colour helpers

parent 07690f9e
No related branches found
No related tags found
1 merge request!31Biscuit merge. Closes #53.
......@@ -15,9 +15,9 @@ def _css_class_from_lesson_state(
) -> str:
if record.get_substitution(record._week):
if record.get_substitution(record._week).cancelled:
return "green-text"
return "success"
else:
return "orange-text"
return "warning"
else:
return ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment