From 4d0ba0fca859973ff68dc5e929f19f3c4bcb10f5 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Wed, 10 Feb 2016 00:05:06 +0000 Subject: bitbake: toaster: templates make build data breadcrumb consistent The pages in the build data section of Toaster showed different breadcrumbs: in some pages the machine was displayed, but not in others. For builds with more than one target, some pages showed the first alphabetical target (the correct behaviour), others didn't. This patch removes the inconsistencies, showing exactly the same breacrumb across all pages in the section. The patch also removes the extra space between the '+' and the number of targets when the builds have more than one target. Remove an unneeded debug message (Bitbake rev: 9cdbb543311b6f4a8a88c27fc157d998242444ee) Signed-off-by: Belen Barros Pena Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html') diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index d441df84e0..a9048d3bb2 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html @@ -13,7 +13,7 @@
  • {% block parentbreadcrumb %} - {{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} ({{build.completed_on|date:"d/m/y H:i"}}) + {{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+{{build.target_set.all.count|add:"-1"}}){%endif%} {{build.machine}} ({{build.completed_on|date:"d/m/y H:i"}}) {% endblock %}
  • @@ -24,7 +24,6 @@ $('#breadcrumb > li').append(''); $('#breadcrumb > li:last').addClass("active"); $('#breadcrumb > li:last > span, #breadcrumb > li:first > span').remove(); - console.log("done"); }); -- cgit v1.2.3-54-g00ecf