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:00 +0100 |
commit | ce9a7f1819a1897878ce154b3ee7e727a76165b0 (patch) | |
tree | d348f02bb63a24e78cb56b3f1e31d5e2b6ccbc5a /lib/toaster/toastergui/templates/projectbuilds.html | |
parent | 505979ab931e3a2a218d7030d6064987e8f9ff14 (diff) | |
download | bitbake-ce9a7f1819a1897878ce154b3ee7e727a76165b0.zip |
toaster: display most recent builds for projects
Display the most recent builds in the given project's build page.
[YOCTO #8186]
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 'lib/toaster/toastergui/templates/projectbuilds.html')
-rw-r--r-- | lib/toaster/toastergui/templates/projectbuilds.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/templates/projectbuilds.html b/lib/toaster/toastergui/templates/projectbuilds.html index fc659a02..fde7e3b9 100644 --- a/lib/toaster/toastergui/templates/projectbuilds.html +++ b/lib/toaster/toastergui/templates/projectbuilds.html @@ -21,13 +21,17 @@ }); </script> + {% with mrb_type='project' %} + {% include "mrb_section.html" %} + {% endwith %} + <h2> {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} - {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found + {{objects.paginator.count}} project build{{objects.paginator.count|pluralize}} found {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} - No builds found + No project builds found {%else%} - Project builds + All project builds {%endif%} <i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i> </h2> |