From 0261fb7aa1520cdcd317752f5be7201685695fb3 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 15 Jul 2016 16:56:09 +0200 Subject: [PATCH] minmod --- manager/view/group/membersChoice.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/manager/view/group/membersChoice.php b/manager/view/group/membersChoice.php index f30329c..12e2087 100644 --- a/manager/view/group/membersChoice.php +++ b/manager/view/group/membersChoice.php @@ -46,6 +46,12 @@
+ +
+ @name + @clustertype +
+ @members
"; break; @@ -171,9 +177,11 @@ return View::replaceSingle( self::template(), [ - 'id_cluster' => $currentCluster['id_cluster'], - 'class' => $class, - 'members' => $members_view + 'id_cluster' => $currentCluster['id_cluster'], + 'class' => $class, + 'name' => $currentCluster['name'], + 'clustertype' => ($class==0) ? 'utilisateurs' : 'machines', + 'members' => $members_view ] ); }