diff --git a/IPython/html/templates/tree.html b/IPython/html/templates/tree.html index c3a708c..0d270b7 100644 --- a/IPython/html/templates/tree.html +++ b/IPython/html/templates/tree.html @@ -53,6 +53,10 @@ data-terminals-available="{{terminals_available}}" + {% else %} + {% endif %} @@ -97,13 +101,15 @@ data-terminals-available="{{terminals_available}}"
- {% if terminals_available %} -
-
-
There are no terminals running.
-
-
+
+
+ {% if terminals_available %} +
There are no terminals running.
+ {% else %} +
Terminals are unavailable.
{% endif %} +
+
diff --git a/docs/source/development/messaging.rst b/docs/source/development/messaging.rst index f870752..752b2fd 100644 --- a/docs/source/development/messaging.rst +++ b/docs/source/development/messaging.rst @@ -1041,6 +1041,14 @@ Message type: ``status``:: Busy and idle messages should be sent before/after handling every message, not just execution. +.. note:: + + Extra status messages are added between the notebook webserver and websocket clients + that are not sent by the kernel. These are: + + - restarting (kernel has died, but will be automatically restarted) + - dead (kernel has died, restarting has failed) + Clear output ------------