From aea944a73215470e7c5a7913b8ba2279abe68923 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Tue, 30 Jan 2024 12:51:28 +0100 Subject: [PATCH] Cosmetics: make SaaS list more compact --- .../templates/musician/saas_list.html | 88 +++++++++---------- 1 file changed, 43 insertions(+), 45 deletions(-) diff --git a/orchestra/contrib/musician/templates/musician/saas_list.html b/orchestra/contrib/musician/templates/musician/saas_list.html index 4da034f8..d38b49bd 100644 --- a/orchestra/contrib/musician/templates/musician/saas_list.html +++ b/orchestra/contrib/musician/templates/musician/saas_list.html @@ -6,51 +6,49 @@

{{ service.verbose_name }}

{{ service.description }}

-{% for saas in object_list %} -
-
-
-
- {{ saas.name }} -
- {% comment "Hidden until API provides this information" %} -
- {% trans "Installed on" %}: {{ saas.domain|default:"-" }} -
- {% endcomment %} -
-
-
-
-

{{ saas.service|capfirst }}

-

-
-
-

{% trans "Service info" %}

- {{ saas.is_active|yesno }}
- {% for key, value in saas.data.items %} - {{ value }}
- {% endfor %} -
- -
-
+ + + + + + + + + + + {% for saas in object_list %} + + + + + + {% empty %} -
-
-
-
-

- {# Translators: saas page when there isn't any saas. #} -
{% trans "Ooops! Looks like there is nothing here!" %}
-
-
-
-
-{% endfor %} + + + + {% endfor %} + +
{% trans "Name" %}{% trans "Is active?" %}{% trans "Service" %}{% trans "Service info" %}
+ {{ saas.name }}
+ {% trans "Installed on" %}: {{ saas.get_site_domain|default:"-" }} +
+ + {{ saas.is_active|yesno }} + + + {{ saas.service|capfirst }} + {% trans "Open service admin panel" %} + + {% for key, value in saas.data.items %} + {{ value }}
+ {% endfor %} +
+
+ + {# Translators: saas page when there isn't any saas. #} + {% trans "Ooops! Looks like there is nothing here!" %} +
+
{% endblock %}