|
|
@ -60,7 +60,8 @@ $(document).ready(function(){ |
|
|
|
|
|
|
|
<p>Řešené problémy: {{ object.problem.all | join:", " }}</p> |
|
|
|
|
|
|
|
<p>Řešitelé: {{ object.resitele.all | join:", " }}</p> |
|
|
|
<p>Řešitelé: {% for r in object.resitele.all %} {{ r }} (<a href="mailto:{{ r.osoba.email }}">{{ r.osoba.email }}</a>) |
|
|
|
{% if forloop.revcounter0 != 0 %}, {% endif %} {% endfor %}</p> |
|
|
|
|
|
|
|
{# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #} |
|
|
|
<p>Forma: {{ object.get_forma_display }}</p> |
|
|
|