diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index c1b1417a76..496dd6eab8 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html | |||
@@ -74,7 +74,7 @@ | |||
74 | </div> | 74 | </div> |
75 | 75 | ||
76 | <div id="change-notification" class="alert alert-info alert-dismissible change-notification" style="display:none"> | 76 | <div id="change-notification" class="alert alert-info alert-dismissible change-notification" style="display:none"> |
77 | <button type="button" class="close" id="hide-alert" data-dismiss="alert">×</button> | 77 | <button type="button" class="close" id="hide-alert" data-toggle="alert">×</button> |
78 | <span id="change-notification-msg"></span> | 78 | <span id="change-notification-msg"></span> |
79 | </div> | 79 | </div> |
80 | 80 | ||
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 0b6ef56380..f5eee96516 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html | |||
@@ -28,6 +28,8 @@ | |||
28 | if (data.error !== "ok") { | 28 | if (data.error !== "ok") { |
29 | console.warn(data.error); | 29 | console.warn(data.error); |
30 | } else { | 30 | } else { |
31 | libtoaster.setNotification("build-deleted", | ||
32 | $("#deleted-build-message").html()); | ||
31 | window.location.replace(data.gotoUrl); | 33 | window.location.replace(data.gotoUrl); |
32 | } | 34 | } |
33 | }, | 35 | }, |
@@ -61,7 +63,9 @@ | |||
61 | }); | 63 | }); |
62 | </script> | 64 | </script> |
63 | 65 | ||
64 | 66 | <span style="display:none" id="deleted-build-message"> | |
67 | You have deleted 1 build: <strong>{{build.get_sorted_target_list|field_values:"target"|join:", "}} {{build.machine}}</strong> completed on <strong>{{build.completed_on|date:"d/m/y H:i"}}</strong> | ||
68 | </span> | ||
65 | 69 | ||
66 | <div class="modal fade" tabindex="-1" role="dialog" id="delete-build-modal" style="display: none;" data-backdrop="static" data-keyboard="false"> | 70 | <div class="modal fade" tabindex="-1" role="dialog" id="delete-build-modal" style="display: none;" data-backdrop="static" data-keyboard="false"> |
67 | <div class="modal-dialog"> | 71 | <div class="modal-dialog"> |