summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/libtoaster.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
index 1cf1693dde..6bf915d15a 100644
--- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
+++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js
@@ -261,7 +261,7 @@ var libtoaster = (function (){
261 var alertMsg; 261 var alertMsg;
262 262
263 if (layerDepsList.length > 0 && add === true) { 263 if (layerDepsList.length > 0 && add === true) {
264 alertMsg = $("<span>You have added <strong>"+(layerDepsList.length+1)+"</strong> layers to <a id=\"project-affected-name\"></a>: <span id=\"layer-affected-name\"></span> and its dependencies </span>"); 264 alertMsg = $("<span>You have added <strong>"+(layerDepsList.length+1)+"</strong> layers to <a id=\"project-affected-name\"></a>: <a id=\"layer-affected-name\"></a> and its dependencies </span>");
265 265
266 /* Build the layer deps list */ 266 /* Build the layer deps list */
267 layerDepsList.map(function(layer, i){ 267 layerDepsList.map(function(layer, i){
@@ -277,12 +277,13 @@ var libtoaster = (function (){
277 alertMsg.append(link); 277 alertMsg.append(link);
278 }); 278 });
279 } else if (layerDepsList.length === 0 && add === true) { 279 } else if (layerDepsList.length === 0 && add === true) {
280 alertMsg = $("<span>You have added <strong>1</strong> layer to <a id=\"project-affected-name\"></a>: <span id=\"layer-affected-name\"></span></span>"); 280 alertMsg = $("<span>You have added <strong>1</strong> layer to <a id=\"project-affected-name\"></a>: <a id=\"layer-affected-name\"></a></span></span>");
281 } else if (add === false) { 281 } else if (add === false) {
282 alertMsg = $("<span>You have deleted <strong>1</strong> layer from <a id=\"project-affected-name\"></a>: <strong id=\"layer-affected-name\"></strong></span>"); 282 alertMsg = $("<span>You have deleted <strong>1</strong> layer from <a id=\"project-affected-name\"></a>: <a id=\"layer-affected-name\"></a></span>");
283 } 283 }
284 284
285 alertMsg.children("#layer-affected-name").text(layer.name); 285 alertMsg.children("#layer-affected-name").text(layer.name);
286 alertMsg.children("#layer-affected-name").attr("href", layer.url);
286 alertMsg.children("#project-affected-name").text(libtoaster.ctx.projectName); 287 alertMsg.children("#project-affected-name").text(libtoaster.ctx.projectName);
287 alertMsg.children("#project-affected-name").attr("href", libtoaster.ctx.projectPageUrl); 288 alertMsg.children("#project-affected-name").attr("href", libtoaster.ctx.projectPageUrl);
288 289