From 4d6e73e8dd95f3948d0ac07d75443714730eb4e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Mon, 1 Jan 2018 18:32:48 +0000 Subject: [PATCH] Lighter design for the list of rights --- users/templates/users/aff_listright.html | 42 +++++++++++++++++++----- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/users/templates/users/aff_listright.html b/users/templates/users/aff_listright.html index 207d07bb..299bd6ad 100644 --- a/users/templates/users/aff_listright.html +++ b/users/templates/users/aff_listright.html @@ -22,21 +22,23 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} - +
- - {% for listright in listright_list %} - + - + + + + + {% endfor %}
Droit Gid PermissionsUsers Details
{{ listright.name }} + + {{ listright.name }} ({{listright.user_set.all|length}} users) + + {{ listright.gid }} {% for user in listright.user_set.all %}{{user}} | {% endfor %} {{ listright.details }} {% include 'buttons/edit.html' with href='users:edit-listright' id=listright.id %} {% include 'buttons/history.html' with href='users:history' name='listright' id=listright.id %}
+
+
    + {% for user in listright.user_set.all %} +
  • + {{user}} + + + +
  • + {% endfor %} +
+
+
+