Skip to content
Snippets Groups Projects
Verified Commit 31656366 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Use weekday name in headings again.

parent bd1a22c4
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
{{ group.name }} {{ group.name }}
</div> </div>
<div class="card-body"> <div class="card-body">
{% regroup lesson_periods by period.weekday as periods_by_day %} {% regroup lesson_periods by period.get_weekday_display as periods_by_day %}
{% for weekday, periods in periods_by_day %} {% for weekday, periods in periods_by_day %}
<h3>{{ weekday }}</h3> <h3>{{ weekday }}</h3>
<table class="table table-striped table-bordered table-hover table-responsive-xl"> <table class="table table-striped table-bordered table-hover table-responsive-xl">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment