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

Added weekday an upcoming lectures

parent 5c863738
...@@ -107,12 +107,11 @@ ...@@ -107,12 +107,11 @@
<ul class="list-group"> <ul class="list-group">
{% for g in upcomming|groupby('date') %} {% for g in upcomming|groupby('date') %}
<li class="list-group-item"> <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;"> <ul class="list-group" style="margin: 0px;">
{% for i in g.list %} {% for i in g.list %}
<li class="list-group-item list-group-item-condensed"> <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> {{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> </li>
{% endfor %} {% endfor %}
</ul> </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