From a6abfcaf3a00a6662cb7114d506f488211aa19f0 Mon Sep 17 00:00:00 2001 From: Julian Rother <julianr@fsmpi.rwth-aachen.de> Date: Mon, 24 Apr 2017 13:12:12 +0200 Subject: [PATCH] Added weekday an upcoming lectures --- templates/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index 40cd84a..4840d59 100644 --- a/templates/index.html +++ b/templates/index.html @@ -107,12 +107,11 @@ <ul class="list-group"> {% for g in upcomming|groupby('date') %} <li class="list-group-item"> - <strong>{{ g.grouper|date }}</strong> + <strong>{{g.grouper.strftime("%a")}}, {{ g.grouper|date }}</strong> <ul class="list-group" style="margin: 0px;"> {% for i in g.list %} <li class="list-group-item list-group-item-condensed"> {{i.time|time}} <a href="{{url_for('course', id=i.course_id)}}">{{i.course.title}}</a>: <a href="{{url_for('course', id=i.course_id)}}#lecture-{{i.id}}">{{i.title}}</a> - </li> {% endfor %} </ul> -- GitLab