Skip to content
Snippets Groups Projects
Unverified Commit 546f1158 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Make teachers links and add popover data.

parent 026fdd7b
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,12 @@
</div>
<div class="col-sm">
{% for teacher in lesson_period.lesson.teachers.all %}
<span class="card-text">{{ teacher.short_name }}</span>
<a href="{% url 'person_by_id' teacher.id %}"
title="{{ teacher.first_name }} {{ teacher.last_name }}"
class="card-text"
data-poload="{% url 'person_by_id_card' teacher.id %}">
{{ teacher.short_name }}
</a>
{% endfor %}
</div>
<div class="col-sm">
......
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