diff options
Diffstat (limited to 'bitbake')
3 files changed, 40 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builds.html b/bitbake/lib/toaster/toastergui/templates/builds.html index c0d0c64c20..2b35b010ed 100644 --- a/bitbake/lib/toaster/toastergui/templates/builds.html +++ b/bitbake/lib/toaster/toastergui/templates/builds.html | |||
@@ -66,7 +66,17 @@ | |||
66 | <td class="outcome"> | 66 | <td class="outcome"> |
67 | <a href="{% url "builddashboard" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a> | 67 | <a href="{% url "builddashboard" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a> |
68 | </td> | 68 | </td> |
69 | <td class="target">{% for t in build.target_set.all %} <a href="{% url "builddashboard" build.id %}"> {{t.target}} </a> <br />{% endfor %}</td> | 69 | <td class="target"> |
70 | {% for t in build.target_set.all %} | ||
71 | <a href="{% url "builddashboard" build.id %}"> | ||
72 | {% if t.task %} | ||
73 | {{t.target}}:{{t.task}} | ||
74 | {% else %} | ||
75 | {{t.target}} | ||
76 | {% endif %} | ||
77 | </a> <br /> | ||
78 | {% endfor %} | ||
79 | </td> | ||
70 | <td class="machine"><a href="{% url "builddashboard" build.id %}">{{build.machine}}</a></td> | 80 | <td class="machine"><a href="{% url "builddashboard" build.id %}">{{build.machine}}</a></td> |
71 | <td class="started_on"><a href="{% url "builddashboard" build.id %}">{{build.started_on|date:"d/m/y H:i"}}</a></td> | 81 | <td class="started_on"><a href="{% url "builddashboard" build.id %}">{{build.started_on|date:"d/m/y H:i"}}</a></td> |
72 | <td class="completed_on"><a href="{% url "builddashboard" build.id %}">{{build.completed_on|date:"d/m/y H:i"}}</a></td> | 82 | <td class="completed_on"><a href="{% url "builddashboard" build.id %}">{{build.completed_on|date:"d/m/y H:i"}}</a></td> |
diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index 396fb8edf8..13e2d0e452 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html | |||
@@ -26,12 +26,25 @@ | |||
26 | {% endif %} | 26 | {% endif %} |
27 | {% if build.target_set.all.count > 0 %} | 27 | {% if build.target_set.all.count > 0 %} |
28 | <span data-toggle="tooltip" | 28 | <span data-toggle="tooltip" |
29 | {%if build.target_set.all.count > 1%} | 29 | {% if build.target_set.all.count > 1 %} |
30 | title="Targets: {%for target in build.target_set.all%}{{target.target}} {%endfor%}" | 30 | title="Targets: |
31 | {%endif%} | 31 | {% for target in build.target_set.all %} |
32 | {% if target.task %} | ||
33 | {{target.target}}:{{target.task}} | ||
34 | {% else %} | ||
35 | {{target.target}} | ||
36 | {% endif %} | ||
37 | {% endfor %}" | ||
38 | {% endif %} | ||
32 | > | 39 | > |
33 | 40 | {% if build.target_set.all.0.task %} | |
34 | {{build.target_set.all.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} | 41 | {{build.target_set.all.0.target}}:{{build.target_set.all.0.task}} |
42 | {% else %} | ||
43 | {{build.target_set.all.0.target}} | ||
44 | {% endif %} | ||
45 | {% if build.target_set.all.count > 1 %} | ||
46 | (+ {{build.target_set.all.count|add:"-1"}}) | ||
47 | {% endif %} | ||
35 | </span> | 48 | </span> |
36 | {% endif %} | 49 | {% endif %} |
37 | {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} | 50 | {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} |
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html index 27cfcd7dce..fc659a02bb 100644 --- a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html +++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html | |||
@@ -66,7 +66,17 @@ | |||
66 | {% endif %} | 66 | {% endif %} |
67 | </td> | 67 | </td> |
68 | 68 | ||
69 | <td class="target">{% for t in build.target_set.all %} <a href="{% url "builddashboard" build.id %}"> {{t.target}} </a> <br />{% endfor %}</td> | 69 | <td class="target"> |
70 | {% for t in build.target_set.all %} | ||
71 | <a href="{% url "builddashboard" build.id %}"> | ||
72 | {% if t.task %} | ||
73 | {{t.target}}:{{t.task}} | ||
74 | {% else %} | ||
75 | {{t.target}} | ||
76 | {% endif %} | ||
77 | </a> <br /> | ||
78 | {% endfor %} | ||
79 | </td> | ||
70 | <td class="machine"><a href="{% url "builddashboard" build.id %}">{{build.machine}}</a></td> | 80 | <td class="machine"><a href="{% url "builddashboard" build.id %}">{{build.machine}}</a></td> |
71 | <td class="started_on"><a href="{% url "builddashboard" build.id %}">{{build.started_on|date:"d/m/y H:i"}}</a></td> | 81 | <td class="started_on"><a href="{% url "builddashboard" build.id %}">{{build.started_on|date:"d/m/y H:i"}}</a></td> |
72 | <td class="completed_on"><a href="{% url "builddashboard" build.id %}">{{build.completed_on|date:"d/m/y H:i"}}</a></td> | 82 | <td class="completed_on"><a href="{% url "builddashboard" build.id %}">{{build.completed_on|date:"d/m/y H:i"}}</a></td> |