From 24d0938001da27c7ebcf36ce076f2aa58cbcf256 Mon Sep 17 00:00:00 2001 From: Dave Lerner Date: Wed, 18 Mar 2015 10:52:48 -0500 Subject: toaster: alert fixes for project release change When a project release changes, if there are layers included with the project, then show the release branch name in the layer list. If there aren't any layers in the project, then suppress the statement on the changed layers. [YOCTO # 7168] Signed-off-by: Dave Lerner --- lib/toaster/toastergui/static/js/projectapp.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'lib/toaster') diff --git a/lib/toaster/toastergui/static/js/projectapp.js b/lib/toaster/toastergui/static/js/projectapp.js index 6b1bbb40f..40e764382 100644 --- a/lib/toaster/toastergui/static/js/projectapp.js +++ b/lib/toaster/toastergui/static/js/projectapp.js @@ -608,7 +608,6 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc // requirement https://bugzilla.yoctoproject.org/attachment.cgi?id=2229, notification for changed version to include layers $scope.zone2alerts.forEach(function (e) { e.close(); }); - alertText += "This has caused the following changes in your project layers:"; + } } $scope.displayAlert(alertZone, alertText, "alert-info"); }); -- cgit 1.2.3-korg