|
@ -17,6 +17,7 @@ |
|
|
<p>Řešitelé: |
|
|
<p>Řešitelé: |
|
|
{% for r in object.resitele.all %} |
|
|
{% for r in object.resitele.all %} |
|
|
{{ r }} |
|
|
{{ r }} |
|
|
|
|
|
{# DjangoTemplates neumí spojovat řetězce (https://stackoverflow.com/q/4386168), tak si necháváme vyrobit subject mailu ve view. #} |
|
|
({% maillink r.osoba.email to=r.osoba.email subject=mailsubject %}){% if forloop.revcounter0 != 0 %}, {% endif %} |
|
|
({% maillink r.osoba.email to=r.osoba.email subject=mailsubject %}){% if forloop.revcounter0 != 0 %}, {% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
</p> |
|
|
</p> |
|
|