* Finish task#41610.
This commit is contained in:
Binary file not shown.
@@ -1,8 +1,3 @@
|
||||
function checkUserDept(userID)
|
||||
{
|
||||
alert(noAccess);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete memeber of project team.
|
||||
*
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<?php
|
||||
if(common::hasPriv('user', 'view'))
|
||||
{
|
||||
$link = isset($deptUsers[$member->userID]) ? $this->createLink('user', 'view', "userID={$member->userID}") : "javascript:checkUserDept();";
|
||||
$link = isset($deptUsers[$member->userID]) ? $this->createLink('user', 'view', "userID={$member->userID}") : "javascript: alert(noAccess);";
|
||||
echo html::a($link, $member->realname, '', 'data-app="system"');
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user