diff --git a/biscuit/apps/alsijil/templates/alsijil/group_week.html b/biscuit/apps/alsijil/templates/alsijil/group_week.html index ae51de99e9c9486b8dbda5f9b8d28bed72b99fca..a620f1fa9ef361b54a6bb6cf69d26a2e7119324c 100644 --- a/biscuit/apps/alsijil/templates/alsijil/group_week.html +++ b/biscuit/apps/alsijil/templates/alsijil/group_week.html @@ -39,7 +39,13 @@ </thead> <tbody> {% for period in periods %} - <tr> + <tr class=" + {% if period.has_documentation %} + table-success + {% else %} + table-warning + {% endif %} + "> <td>{{ period.period.period }}</td> <td> <a href="{% url 'lesson_by_week_and_period' week period.id %}">