diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-11-13 13:48:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 11:55:07 +0000 |
commit | 55f44943d7374886634a0b385df79935333620a8 (patch) | |
tree | 6ae7fa866b8045148c4c6ae981d85732d9f4c911 /bitbake | |
parent | e9d4962a0c1c7ed6861fd11a33b06e81f1121aa3 (diff) | |
download | openembedded-core-contrib-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')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projecttopbar.html | 2 |
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 @@ <ul class="nav nav-pills"> <li> <a href="{% url 'projectbuilds' project.id %}"> - Builds (<span class="total-builds">0</span>) + Builds ({{project.get_number_of_builds}}) </a> </li> <li id="topbar-configuration-tab"> |