Add U řešení zobrazovat i e-mail na řešitele
This commit is contained in:
parent
3d6c3ef26d
commit
b1c4481794
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ $(document).ready(function(){
|
||||||
|
|
||||||
<p>Řešené problémy: {{ object.problem.all | join:", " }}</p>
|
<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 #}
|
{# https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model.get_FOO_display #}
|
||||||
<p>Forma: {{ object.get_forma_display }}</p>
|
<p>Forma: {{ object.get_forma_display }}</p>
|
||||||
|
|
Loading…
Reference in a new issue