From 8e468fda2953a72d73244db688885acea25f9d3f Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Wed, 17 Jul 2019 14:46:43 +0200 Subject: [PATCH] Fix typo. --- biscuit/apps/chronos/templates/chronos/tt_lesson.html | 8 ++++---- biscuit/apps/chronos/templates/chronos/tt_week.html | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/biscuit/apps/chronos/templates/chronos/tt_lesson.html b/biscuit/apps/chronos/templates/chronos/tt_lesson.html index 84f222a3..a909bffd 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 191c0dde..58af9cd2 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 %} -- GitLab