From c37ae1dca784d245c6a9f2dba74da5afb12af83c Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 13 Jan 2020 09:00:51 +0300 Subject: [PATCH] fix layout to show correctly 'not connected' panels --- computes/templates/computes.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/computes/templates/computes.html b/computes/templates/computes.html index bbba6e8..1b6f422 100644 --- a/computes/templates/computes.html +++ b/computes/templates/computes.html @@ -36,15 +36,18 @@
-
+

{% trans "Status" %}:

-
+
{% ifequal compute.status 1 %}

{% trans "Connected" %}

{% else %}

{% trans "Not Connected" %}

{% endifequal %} + +
+
{% if compute.details %}

{% trans compute.details %}

{% else %}