diff --git a/templates/timetable.html b/templates/timetable.html index 2c518d5846442c813a65b51a08046be26453d8ee..b9cb648d60e5002da01f90f570477c7d14f8de20 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) %}