From 073f7aa777b9d072ae6c8d16effe065c63c9a6f7 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 15 Jul 2016 14:55:59 +0200 Subject: [PATCH] Gestion de la suppression de membre directement sur la 'carte' d'un groupe (groups/view) --- manager/view/group/view.php | 4 ++-- view/js/groups-min.js | 15 ++++++++------- view/js/groups.js | 17 ++++++++++------- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/manager/view/group/view.php b/manager/view/group/view.php index a02d7d6..75eba9b 100644 --- a/manager/view/group/view.php +++ b/manager/view/group/view.php @@ -22,6 +22,7 @@ case 'cluster': return "
+ @name #@name @icon_remove @@ -30,14 +31,13 @@ @icon_type - @_classtext (@nb_members) @icon_group @members - + + +
"; diff --git a/view/js/groups-min.js b/view/js/groups-min.js index 34b23bf..f037cc7 100644 --- a/view/js/groups-min.js +++ b/view/js/groups-min.js @@ -1,16 +1,17 @@ var section={view:{text:'#CONTAINER > section[data-sublink="view"] ',element:document.querySelector('#CONTAINER > section[data-sublink="view"]'),searchbar:document.querySelector('#CONTAINER > section[data-sublink="view"] > .searchbar')},create:{text:'#CONTAINER > section[data-sublink="create"] ',element:document.querySelector('#CONTAINER > section[data-sublink="create"]')},remove:{text:'#CONTAINER > section[data-sublink="remove"] ',element:document.querySelector('#CONTAINER > section[data-sublink="remove"]')}, edit:{text:'#CONTAINER > section[data-sublink="edit"] ',element:document.querySelector('#CONTAINER > section[data-sublink="edit"]')},filter:{text:'#CONTAINER > section[data-sublink="filter"] ',element:document.querySelector('#CONTAINER > section[data-sublink="filter"]')}}; -if(null!=section.view.element){1 article.inline-box[id]");for(c=0;c article.inline-box[id]");for(c=0;c