summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/brtargets.html
blob: 4ebd05879a94e5c621f41eac3a81fe21500684c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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>