From 74ae91e0bd29fe640cb4a3d5caf57cc5192860f7 Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Thu, 12 May 2016 15:10:38 +0100 Subject: bitbake: toaster: don't show "Rebuild" button for cancelled cli builds [YOCTO #8515] (Bitbake rev: 71a45c600e47af5a19412bc3c5a9ba242bfb4638) Signed-off-by: Elliot Smith Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- .../toaster/toastergui/templates/mrb_section.html | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index b5e798d7cc..212998a6b2 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html @@ -125,8 +125,6 @@ pull-right" data-request-url="{% url 'xhr_buildrequest' build.project.pk %}" data-target='{{build.target_set.all|get_tasks|json}}'> - - Rebuild {% endif %} @@ -144,7 +142,7 @@
{{build.completeper}}% of tasks complete
{# No build cancel for command line builds project #} {% if build.project.is_default %} - + {% else %}
- + {% if build.project.is_default %} + + {% else %} + + {% endif %} {% endif %} -- cgit v1.2.3-54-g00ecf