diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js index 22377f08f4..7edd0190f3 100644 --- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js +++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js @@ -280,7 +280,7 @@ var libtoaster = (function (){ var alertMsg; if (layerDepsList.length > 0 && add === true) { - alertMsg = $("You have added "+(layerDepsList.length+1)+" layers to : and its dependencies "); + alertMsg = $("You have added "+(layerDepsList.length+1)+" layers to your project: and its dependencies "); /* Build the layer deps list */ layerDepsList.map(function(layer, i){ @@ -296,15 +296,13 @@ var libtoaster = (function (){ alertMsg.append(link); }); } else if (layerDepsList.length === 0 && add === true) { - alertMsg = $("You have added 1 layer to : "); + alertMsg = $("You have added 1 layer to your project: "); } else if (add === false) { - alertMsg = $("You have deleted 1 layer from : "); + alertMsg = $("You have deleted 1 layer from your project: "); } alertMsg.children("#layer-affected-name").text(layer.name); alertMsg.children("#layer-affected-name").attr("href", layer.layerdetailurl); - alertMsg.children("#project-affected-name").text(libtoaster.ctx.projectName); - alertMsg.children("#project-affected-name").attr("href", libtoaster.ctx.projectPageUrl); return alertMsg.html(); }