Skip to content
Snippets Groups Projects
Commit 462b81f7 authored by permcu's avatar permcu
Browse files

Properly use django template filters in teachers_and_subjects_table

parent 9c422c5b
No related branches found
No related tags found
1 merge request!422Resolve "Add export functionality to course book"
<table id="lessons">
<thead>
<tr>
{% if len(groups) > 1 %}
{% if groups|length > 1 %}
<th>{% trans 'Group' %}</th>
{% endif %}
<th>{% trans 'Subject' %}</th>
......@@ -14,7 +14,7 @@
{% for group in groups %}
{% for course in group.courses.all %}
<tr>
{% if len(groups) > 1 %}
{% if groups|length > 1 %}
<td>{{ group.name }}</td>
{% endif %}
<td>{{ course.subject.name }}</td>
......
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