summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/customrecipe.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/customrecipe.js b/bitbake/lib/toaster/toastergui/static/js/customrecipe.js
index a1fe4862e5..3c57899420 100644
--- a/bitbake/lib/toaster/toastergui/static/js/customrecipe.js
+++ b/bitbake/lib/toaster/toastergui/static/js/customrecipe.js
@@ -127,7 +127,8 @@ function customRecipePageInit(ctx) {
127 if (targetPkg.hasOwnProperty('depsAdded') && 127 if (targetPkg.hasOwnProperty('depsAdded') &&
128 targetPkg.depsAdded.length > 0) { 128 targetPkg.depsAdded.length > 0) {
129 129
130 msg += "added " + (targetPkg.depsAdded.length + 1); 130 msg += "added ";
131 msg += "<strong>" + (targetPkg.depsAdded.length + 1) + "</strong>";
131 msg += " packages to " + ctx.recipe.name + ": "; 132 msg += " packages to " + ctx.recipe.name + ": ";
132 msg += "<strong>" + targetPkg.name + "</strong> and its dependencies"; 133 msg += "<strong>" + targetPkg.name + "</strong> and its dependencies";
133 134
@@ -150,7 +151,9 @@ function customRecipePageInit(ctx) {
150 (targetPkg.depsAdded.length + 1) + " packages added"); 151 (targetPkg.depsAdded.length + 1) + " packages added");
151 152
152 } else { 153 } else {
153 msg += ' <strong>' + targetPkg.name + '<strong>'; 154 msg += "added <strong>1</strong>";
155 msg += " package to " + ctx.recipe.name + ": ";
156 msg += "<strong>" + targetPkg.name + "</strong>";
154 inlineNotify.text("1 package added"); 157 inlineNotify.text("1 package added");
155 } 158 }
156 159