summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-11-13 13:48:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:55:07 +0000
commit55f44943d7374886634a0b385df79935333620a8 (patch)
tree6ae7fa866b8045148c4c6ae981d85732d9f4c911 /bitbake/lib
parente9d4962a0c1c7ed6861fd11a33b06e81f1121aa3 (diff)
downloadpoky-55f44943d7374886634a0b385df79935333620a8.tar.gz
bitbake: toaster: projecttopbar Use the project in context to get num builds
Use the project in the template context rather than ajax request to get the number of ended builds. (Bitbake rev: 1f6bfa876b17a600fc83c789af8aaa2639a463b2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projecttopbar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
index ee86b5481d..d8f7cbdbe8 100644
--- a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
+++ b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
@@ -28,7 +28,7 @@
28 <ul class="nav nav-pills"> 28 <ul class="nav nav-pills">
29 <li> 29 <li>
30 <a href="{% url 'projectbuilds' project.id %}"> 30 <a href="{% url 'projectbuilds' project.id %}">
31 Builds (<span class="total-builds">0</span>) 31 Builds ({{project.get_number_of_builds}})
32 </a> 32 </a>
33 </li> 33 </li>
34 <li id="topbar-configuration-tab"> 34 <li id="topbar-configuration-tab">