diff --git a/biscuit/apps/chronos/templates/chronos/tt_lesson.html b/biscuit/apps/chronos/templates/chronos/tt_lesson.html index bd58b5cb110e50274c54eca82b63a2f0ca5073d2..9993ee75a52c50eeff78930799aae368b9a00c34 100644 --- a/biscuit/apps/chronos/templates/chronos/tt_lesson.html +++ b/biscuit/apps/chronos/templates/chronos/tt_lesson.html @@ -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">