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

Merge branch '62-show-lesson-topic-in-week-overview' into 'master'

Resolve "Show lesson topic and group in week overview"

Closes #62

See merge request !75
parents d519bea1 b98f13aa
No related branches found
No related tags found
1 merge request!75Resolve "Show lesson topic and group in week overview"
Pipeline #4737 failed
......@@ -48,8 +48,12 @@
<tr>
<th></th>
<th>{% blocktrans %}Period{% endblocktrans %}</th>
{% if not group %}
<th>{% blocktrans %}Groups{% endblocktrans %}</th>
{% endif %}
<th>{% blocktrans %}Subject{% endblocktrans %}</th>
<th>{% blocktrans %}Teachers{% endblocktrans %}</th>
<th>{% blocktrans %}Lesson topic{% endblocktrans %}</th>
</tr>
</thead>
<tbody>
......@@ -63,6 +67,13 @@
{{ period.period.period }}.
</a>
</td>
{% if not group %}
<td>
<a class="tr-link" href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}">
{{ period.lesson.group_names }}
</a>
</td>
{% endif %}
<td>
<a class="tr-link" href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}">
{{ period.get_subject.name }}
......@@ -73,6 +84,11 @@
{{ period.get_teacher_names }}
</a>
</td>
<td>
<a class="tr-link" href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}">
{{ period.get_lesson_documentation.topic }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
......
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