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 @@
{% if period.has_documentation %}
table-success
{% else %}
table-warning
{% weekday_to_date week weekday as current_date %}
{% today as today %}
{% if current_date < today %}
table-danger
{% endif %}
{% endif %}
">
<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