From 3e0715827330e791daff5ef5171ab180897df5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Mon, 1 Jan 2018 22:04:26 +0000 Subject: [PATCH] Add buttons for aliases collapse --- machines/templates/machines/aff_machines.html | 48 ++++++++++++------- users/templates/users/aff_listright.html | 6 +-- 2 files changed, 35 insertions(+), 19 deletions(-) diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index ab03d79a..124aaf4d 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -28,7 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% include "pagination.html" with list=machines_list %} {% endif %} - +
@@ -65,21 +65,10 @@ with this program; if not, write to the Free Software Foundation, Inc., + {% if interface.domain.related_domain.all %} + + + + {% endif %} {% endfor %} @@ -140,6 +147,15 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% if interface.domain.related_domain.all %} - + {{ interface.domain }} + {% else %} {{ interface.domain }} {% endif %} @@ -132,6 +121,24 @@ with this program; if not, write to the Free Software Foundation, Inc.,
+
+
    + {% for al in interface.domain.related_domain.all %} +
  • + + {{ al }} + + +
  • + {% endfor %} +
+
+
+ + {% if machines_list.paginator %} {% include "pagination.html" with list=machines_list %} {% endif %} diff --git a/users/templates/users/aff_listright.html b/users/templates/users/aff_listright.html index b3dd3595..080a7388 100644 --- a/users/templates/users/aff_listright.html +++ b/users/templates/users/aff_listright.html @@ -90,10 +90,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,