diff options
author | David Reyna <David.Reyna@windriver.com> | 2015-09-29 08:15:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-29 14:11:38 +0100 |
commit | d48b7ef607372488c1bf50762e4ca21773bf1e9a (patch) | |
tree | 6a78925e8d9accc14654e36a78e65ca3f3a9cf43 /bitbake/lib/toaster/toastergui/templates/projectbuilds.html | |
parent | f902dc646dbfdf31fded69a425fb88944a7d8fe3 (diff) | |
download | poky-d48b7ef607372488c1bf50762e4ca21773bf1e9a.tar.gz |
bitbake: toaster: display most recent builds for projects
Display the most recent builds in the given project's build page.
[YOCTO #8186]
(Bitbake rev: ce9a7f1819a1897878ce154b3ee7e727a76165b0)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Elliot Smith <elliot.smith@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.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html index fc659a02bb..fde7e3b9da 100644 --- a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html +++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html | |||
@@ -21,13 +21,17 @@ | |||
21 | }); | 21 | }); |
22 | </script> | 22 | </script> |
23 | 23 | ||
24 | {% with mrb_type='project' %} | ||
25 | {% include "mrb_section.html" %} | ||
26 | {% endwith %} | ||
27 | |||
24 | <h2> | 28 | <h2> |
25 | {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} | 29 | {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} |
26 | {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found | 30 | {{objects.paginator.count}} project build{{objects.paginator.count|pluralize}} found |
27 | {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} | 31 | {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} |
28 | No builds found | 32 | No project builds found |
29 | {%else%} | 33 | {%else%} |
30 | Project builds | 34 | All project builds |
31 | {%endif%} | 35 | {%endif%} |
32 | <i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i> | 36 | <i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i> |
33 | </h2> | 37 | </h2> |