From bb935b3713fe4012168c07365a794b7587b2e2ac Mon Sep 17 00:00:00 2001 From: catborise Date: Thu, 23 Jul 2020 13:57:10 +0300 Subject: [PATCH] fix computes list table layout --- computes/templates/computes/list.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/computes/templates/computes/list.html b/computes/templates/computes/list.html index 18a2886..79b61fe 100644 --- a/computes/templates/computes/list.html +++ b/computes/templates/computes/list.html @@ -25,26 +25,26 @@
- - - - - + + + + + {% for compute in computes %} - - + - - -
{% trans "Name" %}{% trans "Status" %}{% trans "Details" %}{% trans "Actions" %}
{% trans "Name" %}{% trans "Status" %}{% trans "Details" %}{% trans "Actions" %}
+
{{ compute.name }} + {% if compute.status is True %}{% trans "Connected" %}{% else %}{% trans "Not Connected" %}{% endif %} + {{ compute.details|default:"" }} +
{% if compute.status is True %} {% icon 'eye' %}