Skip to content
Snippets Groups Projects
Commit 978ecbb6 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Use colour classes from core.

parent 36911718
No related branches found
No related tags found
1 merge request!37Resolve "Migrate to materialize.css"
...@@ -48,15 +48,15 @@ ...@@ -48,15 +48,15 @@
{% for period in periods %} {% for period in periods %}
<tr class=" <tr class="
{% if period.has_documentation %} {% if period.has_documentation %}
green lighten-2 success
{% else %} {% else %}
{% weekday_to_date week period.period.weekday as current_date %} {% weekday_to_date week period.period.weekday as current_date %}
{% today as today %} {% today as today %}
{% if current_date < today %} {% if current_date < today %}
red lighten-2 error
{% else %} {% else %}
{% if period.get_substitution %} {% if period.get_substitution %}
yellow lighten-2 warning
{% if period.get_substitution.cancelled %} {% if period.get_substitution.cancelled %}
alsijil-lesson-cancelled alsijil-lesson-cancelled
{% endif %} {% endif %}
......
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