From 4925097006024b84a6bed1562b20373b14ed35b2 Mon Sep 17 00:00:00 2001 From: Julien Rebetez Date: Tue, 29 Sep 2015 10:01:12 +0200 Subject: [PATCH] Use kernel display_name instead of name in running kernels list --- notebook/static/tree/js/kernellist.js | 4 ++-- notebook/static/tree/js/sessionlist.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) 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 = $('