Skip to content
Snippets Groups Projects
Verified Commit 8b889eba authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Highlight lessons without documentation if day has past. Closes #9.

parent a5665154
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,11 @@ ...@@ -43,7 +43,11 @@
{% if period.has_documentation %} {% if period.has_documentation %}
table-success table-success
{% else %} {% else %}
table-warning {% weekday_to_date week weekday as current_date %}
{% today as today %}
{% if current_date < today %}
table-danger
{% endif %}
{% endif %} {% endif %}
"> ">
<td>{{ period.period.period }}</td> <td>{{ period.period.period }}</td>
......
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