blob: 4ebd05879a94e5c621f41eac3a81fe21500684c0 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001<span data-toggle="tooltip"
2 {% if buildrequest.brtarget_set.all.count > 1 %}
3 title="Targets:
4 {% for target in buildrequest.brtarget_set.all %}
5 {% if target.task %}
6 {{target.target}}:{{target.task}}
7 {% else %}
8 {{target.target}}
9 {% endif %}
10 {%endfor%}"
11 {%endif%}>
12 {% if buildrequest.brtarget_set.all.0.task %}
13 {{buildrequest.brtarget_set.all.0.target}}:{{buildrequest.brtarget_set.all.0.task}}
14 {% else %}
15 {{buildrequest.brtarget_set.all.0.target}}
16 {% endif %}
17 {% if buildrequest.brtarget_set.all.count > 1 %}
18 (+ {{buildrequest.brtarget_set.all.count|add:"-1"}})
19 {% endif %}
20</span>