diff --git a/biscuit/apps/alsijil/templates/alsijil/group_week.html b/biscuit/apps/alsijil/templates/alsijil/group_week.html index a620f1fa9ef361b54a6bb6cf69d26a2e7119324c..319911a3d522fe4d00b834c347aee42b8bf9ff8d 100644 --- a/biscuit/apps/alsijil/templates/alsijil/group_week.html +++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html @@ -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>