From 57d5f7a4e01e255b2d1efc4ecf7c55e8ba82298d Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 22 Jan 2015 18:43:18 -0800 Subject: [PATCH] Indicate that terminals are unavailable rather than hiding any evidence of their existence --- IPython/html/templates/tree.html | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/IPython/html/templates/tree.html b/IPython/html/templates/tree.html index c3a708c1d..0d270b763 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 %} +
+