diff --git a/IPython/frontend/html/notebook/static/js/notificationarea.js b/IPython/frontend/html/notebook/static/js/notificationarea.js
index b15354b..874ea1d 100644
--- a/IPython/frontend/html/notebook/static/js/notificationarea.js
+++ b/IPython/frontend/html/notebook/static/js/notificationarea.js
@@ -177,6 +177,31 @@ var IPython = (function (IPython) {
$([IPython.events]).on('notebook_save_failed.Notebook', function () {
nnw.set_message("Notebook save failed");
});
+
+ // Checkpoint events
+ $([IPython.events]).on('checkpoint_created.Notebook', function (evt, data) {
+ var msg = "Checkpoint created";
+ if (data.last_modified) {
+ var d = new Date(data.last_modified);
+ msg = msg + ": " + d.format("HH:MM:ss");
+ }
+ nnw.set_message(msg, 2000);
+ });
+ $([IPython.events]).on('checkpoint_failed.Notebook', function () {
+ nnw.set_message("Checkpoint failed");
+ });
+ $([IPython.events]).on('checkpoint_deleted.Notebook', function () {
+ nnw.set_message("Checkpoint deleted", 500);
+ });
+ $([IPython.events]).on('checkpoint_delete_failed.Notebook', function () {
+ nnw.set_message("Checkpoint delete failed");
+ });
+ $([IPython.events]).on('checkpoint_restoring.Notebook', function () {
+ nnw.set_message("Restoring to checkpoint...", 500);
+ });
+ $([IPython.events]).on('checkpoint_restore_failed.Notebook', function () {
+ nnw.set_message("Checkpoint restore failed");
+ });
};