diff --git a/biscuit/apps/chronos/templates/chronos/tt_lesson.html b/biscuit/apps/chronos/templates/chronos/tt_lesson.html index 84f222a32cd0b45c96a8d90bbb43256711cd10c3..a909bffd05e9cd64d3c2967c3211463ea65919db 100644 --- a/biscuit/apps/chronos/templates/chronos/tt_lesson.html +++ b/biscuit/apps/chronos/templates/chronos/tt_lesson.html @@ -1,10 +1,10 @@ -<div class="card" style="width: 18rem; {{% if Lesson.color-fg %}} foreground-color: {{ Lesson.color-fg }}; {% endif%} {{% if Lesson.color-bg %}} background-color: {{% Lesson.color-bg %}};"> +<div class="card" style="width: 18rem; {{% if lesson.color-fg %}} foreground-color: {{ lesson.color-fg }}; {% endif%} {{% if lesson.color-bg %}} background-color: {{% lesson.color-bg %}};"> <div class="card-body"> - <h5 class="card-title">{{ Lesson.subject.abbrev }}</h5> + <h5 class="card-title">{{ lesson.subject.abbrev }}</h5> <h6 class="">Rooms {# Will be implemented soon#}</h6> <ul> - <li>{{ Lesson.teachers }}</li> - <li>{{ Lesson.groups }}</li> + <li>{{ lesson.teachers }}</li> + <li>{{ lesson.groups }}</li> </ul> <a href="{{% '#' %}}" class="card-link">Room informations</a> </div> diff --git a/biscuit/apps/chronos/templates/chronos/tt_week.html b/biscuit/apps/chronos/templates/chronos/tt_week.html index 191c0dde8611b4163b0f9f075fa26fb9e26c3110..58af9cd249a45b9009e79add8fbda28a0f57ef57 100644 --- a/biscuit/apps/chronos/templates/chronos/tt_week.html +++ b/biscuit/apps/chronos/templates/chronos/tt_week.html @@ -5,4 +5,6 @@ {% block page_title %}Timetable{% endblock %} {% block content %} +{% include "chronos/tt_lesson.html" %} + {% endblock %}