diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-06-16 20:17:29 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-06-16 20:17:29 (GMT) |
commit | 9b0adce7dce03309e0a039b346d462aaf73b0bef (patch) | |
tree | 6022751ea3db1879646c5b6434c58f4958453468 /program/templates/v2 | |
parent | d3f8b119175b6316bc764de64a84e7857864ffcc (diff) |
Show detail: comma seperated host list
Diffstat (limited to 'program/templates/v2')
-rw-r--r-- | program/templates/v2/show_detail.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/program/templates/v2/show_detail.html b/program/templates/v2/show_detail.html index f9d8e38..7fbcf9f 100644 --- a/program/templates/v2/show_detail.html +++ b/program/templates/v2/show_detail.html @@ -48,9 +48,13 @@ {% endif %} <p> -{% for host in show.hosts.all %} - <a href="/program/hosts/{{ host.id }}">{{ host }}</a><br/> -{% endfor %} +{% if show.hosts.all %} + <strong>Redaktion:</strong> +{% for host in show.hosts.all %} + <a href="/program/hosts/{{ host.id }}">{{ host }}</a>{% if not forloop.last %}, {% endif %} +{% endfor %} + <br/> +{% endif %} {% if show.email %} <strong>E-Mail:</strong> <a href="mailto:{{ show.email }}">{{ show.email }}</a><br/> {% endif %} |