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

Fix check for existing lessons in week view.

parent c5ee866a
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
{% endif %}
</div>
{% if group or teacher or room %}
{% if lesson_periods.count %}
<div class="row">
<div class="col-md-7">
<div class="card">
......@@ -115,7 +115,7 @@
<div class="card-body">
<p>
{% blocktrans %}
You must select a group, a teacher or a room to see the week summary.
There are no lessons for the selected group, teacher, room or time.
{% endblocktrans %}
</p>
</div>
......
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