diff --git a/notebook/static/tree/js/kernellist.js b/notebook/static/tree/js/kernellist.js index 1ed379d6a..ea3a51a20 100644 --- a/notebook/static/tree/js/kernellist.js +++ b/notebook/static/tree/js/kernellist.js @@ -48,7 +48,7 @@ define([ name: path, path: path, type: 'notebook', - kernel_name: session.kernel_name + kernel_display_name: session.kernel.display_name }, item); } $('#running_list_placeholder').toggle($.isEmptyObject(d)); @@ -63,7 +63,7 @@ define([ var that = this; var kernel_name = $('
') .addClass('kernel-name') - .text(model.kernel_name) + .text(model.kernel_display_name) .appendTo(running_indicator); var shutdown_button = $('') diff --git a/notebook/static/tree/js/sessionlist.js b/notebook/static/tree/js/sessionlist.js index 747419216..ab86ee35a 100644 --- a/notebook/static/tree/js/sessionlist.js +++ b/notebook/static/tree/js/sessionlist.js @@ -74,7 +74,9 @@ define([ nb_path = data[i].notebook.path; this.sessions[nb_path] = { id: data[i].id, - kernel_name: data[i].kernel.name + kernel: { + display_name: data[i].kernel.display_name + } }; } this.events.trigger('sessions_loaded.Dashboard', this.sessions);