diff --git a/seminar/templates/seminar/odevzdavatko/detail.html b/seminar/templates/seminar/odevzdavatko/detail.html index 20bfc589..dc53923f 100644 --- a/seminar/templates/seminar/odevzdavatko/detail.html +++ b/seminar/templates/seminar/odevzdavatko/detail.html @@ -60,7 +60,8 @@ $(document).ready(function(){
Řešené problémy: {{ object.problem.all | join:", " }}
-Řešitelé: {{ object.resitele.all | join:", " }}
+Řešitelé: {% for r in object.resitele.all %} {{ r }} ({{ r.osoba.email }}) +{% if forloop.revcounter0 != 0 %}, {% endif %} {% endfor %}
{# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #}Forma: {{ object.get_forma_display }}