svg
This commit is contained in:
parent
ff5569bcae
commit
17592e3a8e
|
@ -260,11 +260,13 @@ class GroupController extends Controller
|
||||||
$action = "";
|
$action = "";
|
||||||
if($group->getLdapfilter()==""&&$group->getAttributes()=="")
|
if($group->getLdapfilter()==""&&$group->getAttributes()=="")
|
||||||
$action.="<a style='cursor:pointer' onClick='addUsers(".$data->getId().")'><i class='fa fa-plus fa-fw'></i></a>";
|
$action.="<a style='cursor:pointer' onClick='addUsers(".$data->getId().")'><i class='fa fa-plus fa-fw'></i></a>";
|
||||||
|
|
||||||
|
$fgmanager="<input type='checkbox' class='switch' onChange='switchManager(".$data->getId().");'>";
|
||||||
|
|
||||||
// Avatar
|
// Avatar
|
||||||
$avatar="<img src='/".$this->container->getParameter('alias')."/uploads/avatar/".$data->getAvatar()."' style='width:30px;background-color:#337ab7;margin:auto;display:block;'>";
|
$avatar="<img src='/".$this->container->getParameter('alias')."/uploads/avatar/".$data->getAvatar()."' style='width:30px;background-color:#337ab7;margin:auto;display:block;'>";
|
||||||
|
|
||||||
array_push($output["data"],array("DT_RowId"=>"user".$data->getId(),$action,$avatar,$data->getUsername(),$data->getEmail()));
|
array_push($output["data"],array("DT_RowId"=>"user".$data->getId(),$action,$avatar,$data->getUsername(),$data->getEmail(),$fgmanager));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Retour
|
// Retour
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
<th width="70px" class="no-sort">Action</th>
|
<th width="70px" class="no-sort">Action</th>
|
||||||
<th width="70px" class="no-sort">Avatar</th>
|
<th width="70px" class="no-sort">Avatar</th>
|
||||||
<th width="200px">Login</th>
|
<th width="200px">Login</th>
|
||||||
<th>Email</th>
|
<th>Email</th>
|
||||||
|
<th class="no-sort no-visible">Manager</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue