From 5b87d860b6ac5bb7dfc8c6c36bb0c98ac3990faf Mon Sep 17 00:00:00 2001 From: Kálmán Viktor <kviktor@cloud.bme.hu> Date: Thu, 6 Mar 2014 10:47:42 +0100 Subject: [PATCH] dashboard: fix console tab disabling --- circle/dashboard/templates/dashboard/vm-detail.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/circle/dashboard/templates/dashboard/vm-detail.html b/circle/dashboard/templates/dashboard/vm-detail.html index 4ea4b99..1cec6bf 100644 --- a/circle/dashboard/templates/dashboard/vm-detail.html +++ b/circle/dashboard/templates/dashboard/vm-detail.html @@ -113,8 +113,11 @@ <i class="icon-tasks icon-2x"></i><br> {% trans "Resources" %}</a> </li> - <li {% if not instance.is_console_available %}class="disabled"{% endif %}> + <li {% if not instance.is_console_available %}class="disabled"> + <a href="#" data-toggle="pill_" data-target="#_console" class="text-center"> + {% else %}> <a href="#console" data-toggle="pill" data-target="#_console" class="text-center"> + {% endif %} <i class="icon-desktop icon-2x"></i><br> {% trans "Console" %}</a></li> <li> -- libgit2 0.26.0