Commit a6abfcaf authored by Julian Rother's avatar Julian Rother
Browse files

Added weekday an upcoming lectures

parent 5c863738
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment