From bc2c3e7f12f3382262df99f87131e6933f0c8458 Mon Sep 17 00:00:00 2001
From: Andreas <andreasv@fsmpi.rwth-aachen.de>
Date: Thu, 10 Nov 2016 02:29:07 +0100
Subject: [PATCH] made timetable html more readable

---
 templates/timetable.html | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/templates/timetable.html b/templates/timetable.html
index 2c518d5..b9cb648 100644
--- a/templates/timetable.html
+++ b/templates/timetable.html
@@ -24,9 +24,16 @@
 						{% for l in d.lectures|selectattr('timetable_col','equalto',i) if (((l.time.time() > t) and (l.time.time() < times[time_loop.index+1])) != (l.time.time() == t ) ) %}
 						<td {% if i == 1 %} class="newday"{% endif %} rowspan="{{l.duration / 15}}" style="background: {% if l.visible and l.course.visible %}lightgrey;{% else %}#f2dede{% endif %}">
 							<p class="small">
-							<strong><a class="hidden-print" href="{{url_for('course', id=l.course_id)}}#lecture-{{l.id}}">{{l.course.short}}</a><span class="visible-print-inline">{{l.course.short}}</span></strong><br>
+								<strong>
+									<a class="hidden-print" href="{{url_for('course', id=l.course_id)}}#lecture-{{l.id}}">
+										{{l.course.short}}
+									</a>
+									<span class="visible-print-inline">{{l.course.short}}</span>
+								</strong>
+								<br>
 								{{l.time.strftime("%H:%M")}} - {{l.time_end.strftime("%H:%M")}}<br>
-								{{l.place}}</p>
+								{{l.place}}
+							</p>
 						</td>
 							{% else %}
 								{% for l in d.lectures|selectattr('timetable_col','equalto',i) if (l.time.time() < t) and (l.time_end.time() > t) %}
-- 
GitLab