diff options
author | Dave Lerner <dave.lerner@windriver.com> | 2016-02-25 14:24:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-26 17:17:24 +0000 |
commit | da233005eb8cfa7842cd1a768c16e42aaaa55fad (patch) | |
tree | d367212ccfaec4468f7a1b0254f97560e075801c /lib | |
parent | 5545acf6703a25ee46776138bbbd804615add89c (diff) | |
download | bitbake-da233005eb8cfa7842cd1a768c16e42aaaa55fad.tar.gz |
toaster: fix banner after customimage package add
Correct formatting of the banner message after adding a package to a
custom image.
[YOCTO #9101]
Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/toaster/toastergui/static/js/customrecipe.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/static/js/customrecipe.js b/lib/toaster/toastergui/static/js/customrecipe.js index a1fe4862e..3c5789942 100644 --- a/lib/toaster/toastergui/static/js/customrecipe.js +++ b/lib/toaster/toastergui/static/js/customrecipe.js @@ -127,7 +127,8 @@ function customRecipePageInit(ctx) { if (targetPkg.hasOwnProperty('depsAdded') && targetPkg.depsAdded.length > 0) { - msg += "added " + (targetPkg.depsAdded.length + 1); + msg += "added "; + msg += "<strong>" + (targetPkg.depsAdded.length + 1) + "</strong>"; msg += " packages to " + ctx.recipe.name + ": "; msg += "<strong>" + targetPkg.name + "</strong> and its dependencies"; @@ -150,7 +151,9 @@ function customRecipePageInit(ctx) { (targetPkg.depsAdded.length + 1) + " packages added"); } else { - msg += ' <strong>' + targetPkg.name + '<strong>'; + msg += "added <strong>1</strong>"; + msg += " package to " + ctx.recipe.name + ": "; + msg += "<strong>" + targetPkg.name + "</strong>"; inlineNotify.text("1 package added"); } |