From 707a960ffa20d6093ff787084e0b0f50a7b8305e Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 25 Nov 2014 11:21:53 +0000 Subject: bitbake: toastergui: do not show project info in interactive mode The most recent builds section showed the project name and the Run Again buttons regardless whenever the Toaster was in interactive or managed modes. These widgets have no meaning in interactive mode, and this patch disables the widgets if toaster is not running in Managed mode. [YOCTO #6776] (Bitbake rev: 86dced90db666aa73ebb7ebb48d64fc08f66e7e2) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/mrb_section.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index 586c47b..4237980 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html @@ -13,7 +13,7 @@
{% for build in mru %}
- {% if build.project %} + {% if MANAGED and build.project %} {{build.project.name}} {% endif %} @@ -40,10 +40,10 @@ {% endif %}
- + Build time: {{ build.timespent|sectohms }} - {% if build.project %} + {% if MANAGED and build.project %} Run again {% endif %}
-- cgit v1.1