summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/projectbuilds.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-01-23 17:36:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 22:11:35 +0000
commit4f7182775cfa39c589e2e4693b1769127d7dd4d4 (patch)
treef62dfeba0e4a021fcbcb64c05e873b9da3458921 /bitbake/lib/toaster/toastergui/templates/projectbuilds.html
parentfefef50e5474da740f926ef635676c4d5f24b9b7 (diff)
downloadpoky-4f7182775cfa39c589e2e4693b1769127d7dd4d4.tar.gz
bitbake: toastergui: update project build listing
We update the build listings in the project mode to enable proper display and selection of build requests that do not have an actual build object because the bitbake process did not start. We add a page to display error details for build requests that did not start a build. Fixing errors and misspelling in build sections. Sorting by "timespent" is disabled for build-listing pages. [YOCTO #7165] [YOCTO #7156] [YOCTO #7196] [YOCTO #7188] (Bitbake rev: ee13bf45cecd6a0132d724b3206a6f4515669496) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/projectbuilds.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projectbuilds.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html
index 8f9172c6d5..2a8bd58f34 100644
--- a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html
+++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html
@@ -13,11 +13,11 @@
13 No builds found 13 No builds found
14 14
15 {% else %} 15 {% else %}
16 {% if request.GET.filter or request.GET.search %} 16 {% if request.GET.filter or request.GET.search %}
17 {{objects.paginator.count}} builds found 17 {{objects.paginator.count}} builds found
18 {% else %} 18 {% else %}
19 Project builds <small>({{objects.paginator.count}})</small> 19 Project builds <small>({{objects.paginator.count}})</small>
20 {% endif %} 20 {% endif %}
21 {% endif %} 21 {% endif %}
22 <i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i> 22 <i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i>
23 </h1> 23 </h1>
@@ -89,23 +89,23 @@
89 89
90 90
91 <tr class="data"> 91 <tr class="data">
92 <td class="outcome">{% if buildrequest.state == buildrequest.REQ_FAILED %}<i class="icon-minus-sign error"></i>{%else%}FIXME_build_request_state{%endif%}</td> 92 <td class="outcome">{% if br.state == br.REQ_FAILED %}<i class="icon-minus-sign error"></i>{%else%}FIXME_build_request_state{%endif%}</td>
93 <td class="target"> 93 <td class="target">
94 <span data-toggle="tooltip" {%if br.brtarget_set.all.count > 1%}title="Targets: {%for target in br.brtarget_set.all%}{{target.target}} {%endfor%}"{%endif%}>{{br.brtarget_set.all.0.target}} {%if br.brtarget_set.all.count > 1%}(+ {{br.brtarget_set.all.count|add:"-1"}}){%endif%} </span> 94 <a href="{% url "buildrequestdetails" br.project.id br.id %}"><span data-toggle="tooltip" {%if br.brtarget_set.all.count > 1%}title="Targets: {%for target in br.brtarget_set.all%}{{target.target}} {%endfor%}"{%endif%}>{{br.brtarget_set.all.0.target}} {%if br.brtarget_set.all.count > 1%}(+ {{br.brtarget_set.all.count|add:"-1"}}){%endif%} </span></a>
95 </td> 95 </td>
96 <td class="machine"> 96 <td class="machine">
97 {{br.machine}} 97 <a href="{% url "buildrequestdetails" br.project.id br.id %}">{{br.machine}}</a>
98 </td> 98 </td>
99 <td class="started_on"> 99 <td class="started_on">
100 {{br.created|date:"d/m/y H:i"}} 100 <a href="{% url "buildrequestdetails" br.project.id br.id %}">{{br.created|date:"d/m/y H:i"}}</a>
101 </td> 101 </td>
102 <td class="completed_on"> 102 <td class="completed_on">
103 {{br.updated|date:"d/m/y H:i"}} 103 <a href="{% url "buildrequestdetails" br.project.id br.id %}">{{br.updated|date:"d/m/y H:i"}}</a>
104 </td> 104 </td>
105 <td class="failed_tasks error"> 105 <td class="failed_tasks error">
106 {{br.brerror_set.all.0.errmsg|whitespace_slice:":32"}}
107 </td> 106 </td>
108 <td class="errors_no"> 107 <td class="errors_no">
108 <a class="errors_no error" href="{% url "buildrequestdetails" br.project.id br.id %}#errors">{{br.brerror_set.all.count}} error{{br.brerror_set.all.count|pluralize}}</a>
109 </td> 109 </td>
110 <td class="warnings_no"> 110 <td class="warnings_no">
111 </td> 111 </td>