From 10de0d0ac884926caf48c6136253b6f3d8e83a7a Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Tue, 27 Oct 2020 16:04:21 +0100 Subject: [PATCH] Turn table row into panels --- .../templates/preferences/aff_service.html | 66 +++++++++++-------- 1 file changed, 37 insertions(+), 29 deletions(-) diff --git a/preferences/templates/preferences/aff_service.html b/preferences/templates/preferences/aff_service.html index fa7df1a3..baa08feb 100644 --- a/preferences/templates/preferences/aff_service.html +++ b/preferences/templates/preferences/aff_service.html @@ -25,32 +25,40 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load logs_extra %} {% load i18n %} - - - - - - - - - - - {% for service in service_list %} - - - - - - - - {% endfor %} -
{% trans "Name" %}{% trans "URL" %}{% trans "Description" %}{% trans "Image" %}
{{ service.name }}{{ service.url }}{{ service.description }}{{ service.image }} - {% can_edit service %} - {% include 'buttons/edit.html' with href='preferences:edit-service' id=service.id %} - {% acl_end %} - {% can_delete service %} - {% include 'buttons/suppr.html' with href='preferences:del-service' id=service.id %} - {% acl_end %} - {% history_button service %} -
- +{% for service in service_list %} +
+
+
+
+
+

{{ service.name }}

+
+
+ {% can_edit service %} + {% include 'buttons/edit.html' with href='preferences:edit-service' id=service.id %} + {% acl_end %} + {% can_delete service %} + {% include 'buttons/suppr.html' with href='preferences:del-service' id=service.id %} + {% acl_end %} + {% history_button service %} +
+
+
+
+
+ {{ service.description }} +
+ +
+{% endfor %}