This commit is contained in:
xdrm-brackets 2016-07-15 16:56:09 +02:00
parent 8ee2dbb9b2
commit 0b07e72f6e
1 changed files with 11 additions and 3 deletions

View File

@ -46,6 +46,12 @@
<article class='check-table'>
<input type='hidden' id='filter-member-idcluster' value='@id_cluster'>
<input type='hidden' id='filter-member-class' value='@class'>
<div>
<span><strong>@name</strong></span>
<span><strong>@clustertype</strong></span>
</div>
@members
</article>";
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
]
);
}