mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
bitbake: toaster: Delete notification update front end implementation to design
Update the delete notifications to reflect feedback from design review comments. (Bitbake rev: e47a1cc160c0f1da060884a8585403b35375fb09) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: bavery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8df56061f6
commit
7f67977518
@@ -392,6 +392,8 @@ function layerDetailsPageInit (ctx) {
|
||||
|
||||
$("#layer-delete-confirmed").click(function(){
|
||||
|
||||
$("#delete-layer-modal button[data-dismiss='modal']").hide();
|
||||
|
||||
var message = $('<span>You have deleted <strong>1</strong> layer from your project: <strong id="deleted-layer-name"></strong>');
|
||||
message.find("#deleted-layer-name").text(ctx.layerVersion.name);
|
||||
|
||||
|
||||
@@ -342,7 +342,7 @@ var libtoaster = (function () {
|
||||
}
|
||||
|
||||
function _showChangeNotification(message){
|
||||
$(".alert").fadeOut().promise().done(function(){
|
||||
$(".alert-dismissible").fadeOut().promise().done(function(){
|
||||
var alertMsg = $("#change-notification-msg");
|
||||
|
||||
alertMsg.html(message);
|
||||
|
||||
Reference in New Issue
Block a user