From 7d54a75dc45624e5c5679f15f1e14441fe295e9a Mon Sep 17 00:00:00 2001 From: nd <git@notandy.de> Date: Sat, 19 Sep 2020 00:48:45 +0200 Subject: [PATCH] added group ids to group list --- uffd/role/templates/role_list.html | 4 ++++ uffd/user/templates/user_list.html | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/uffd/role/templates/role_list.html b/uffd/role/templates/role_list.html index 4cfcb60d..007ddf38 100644 --- a/uffd/role/templates/role_list.html +++ b/uffd/role/templates/role_list.html @@ -6,6 +6,7 @@ <table class="table table-striped"> <thead> <tr> + <th scope="col">id</th> <th scope="col">name</th> <th scope="col">description</th> <th scope="col"> @@ -20,6 +21,9 @@ <tbody> {% for role in roles|sort(attribute="name") %} <tr id="role-{{ role.id }}"> + <td> + {{ role.id }} + </td> <th scope="row"> {{ role.name }} </th> diff --git a/uffd/user/templates/user_list.html b/uffd/user/templates/user_list.html index 85da86db..21d437c3 100644 --- a/uffd/user/templates/user_list.html +++ b/uffd/user/templates/user_list.html @@ -66,10 +66,10 @@ Example: </p> <pre> -testuser1,foobar@example.com -testuser5,foobsdfar@example.com -testuser5,foobadfar@example.com -testuser2,foobaadsfr@example.com +testuser1,foobar@example.com,5;2;6 +testuser5,foobsdfar@example.com, +testuser5,foobadfar@example.com,0;5;2 +testuser2,foobaadsfr@example.com,5;2 </pre> <textarea rows="10" class="form-control" name="csv"></textarea> </div> -- GitLab