blob: 4ebd05879a94e5c621f41eac3a81fe21500684c0 [file] [log] [blame]
<span data-toggle="tooltip"
{% if buildrequest.brtarget_set.all.count > 1 %}
title="Targets:
{% for target in buildrequest.brtarget_set.all %}
{% if target.task %}
{{target.target}}:{{target.task}}
{% else %}
{{target.target}}
{% endif %}
{%endfor%}"
{%endif%}>
{% if buildrequest.brtarget_set.all.0.task %}
{{buildrequest.brtarget_set.all.0.target}}:{{buildrequest.brtarget_set.all.0.task}}
{% else %}
{{buildrequest.brtarget_set.all.0.target}}
{% endif %}
{% if buildrequest.brtarget_set.all.count > 1 %}
(+ {{buildrequest.brtarget_set.all.count|add:"-1"}})
{% endif %}
</span>