-
-

gitlab->bindUser;?>

+
+ ' . $lang->goback, $browseLink, 'self', "data-app='{$app->tab}'", 'btn btn-secondary'); + + $allLink = $this->createLink('gitlab', 'binduser', "gitlabID={$gitlabID}&type=all"); + $bindedLink = $this->createLink('gitlab', 'binduser', "gitlabID={$gitlabID}&type=binded"); + $notBindLink = $this->createLink('gitlab', 'binduser', "gitlabID={$gitlabID}&type=notBind"); + if($type == 'all') + { + echo html::linkButton('' . $lang->gitlab->all . "" . count($gitlabUsers) . "", $allLink, 'self', "data-app='{$app->tab}'", 'btn btn-info active'); + echo html::linkButton('' . $lang->gitlab->notBind, $notBindLink, 'self', "data-app='{$app->tab}'", 'btn btn-info'); + echo html::linkButton('' . $lang->gitlab->binded, $bindedLink, 'self', "data-app='{$app->tab}'", 'btn btn-info'); + } + else if($type == 'binded') + { + echo html::linkButton('' . $lang->gitlab->all, $allLink, 'self', "data-app='{$app->tab}'", 'btn btn-info'); + echo html::linkButton('' . $lang->gitlab->notBind, $notBindLink, 'self', "data-app='{$app->tab}'", 'btn btn-info'); + echo html::linkButton('' . $lang->gitlab->binded . "" . count($gitlabUsers) . "", $bindedLink, 'self', "data-app='{$app->tab}'", 'btn btn-info active'); + } + else + { + echo html::linkButton('' . $lang->gitlab->all, $allLink, 'self', "data-app='{$app->tab}'", 'btn btn-info'); + echo html::linkButton('' . $lang->gitlab->notBind . "" . count($gitlabUsers) . "", $notBindLink, 'self', "data-app='{$app->tab}'", 'btn btn-info active'); + echo html::linkButton('' . $lang->gitlab->binded, $bindedLink, 'self', "data-app='{$app->tab}'", 'btn btn-info'); + } + ?>
- +
- - + + @@ -32,29 +58,27 @@ zentaoAccount)) continue;?> id]", $gitlabUser->realname);?> - - - - + + + zentaoAccount)) continue;?> id]", $gitlabUser->realname);?> - - + +
gitlab->gitlabAvatar;?> gitlab->gitlabAccount;?> gitlab->gitlabEmail;?>gitlab->zentaoAccount;?>gitlab->zentaoEmail;?>gitlab->zentaoAccount;?> gitlab->bindingStatus;?>
avatar, "height=40");?> - realname;?> -
- account;?> +
+ avatar, "height=20 width=20 class='img-circle'");?> + realname . '@' . $gitlabUser->account;?> email;?>id]", $userPairs, '', "class='form-control select chosen'" );?>gitlab->notBind;?>id]", $userPairs, '', "class='form-control select chosen gitlab-user-bind'" );?>' . $lang->gitlab->notBind . '';?>
avatar, "height=40");?> - realname;?> -
- account;?> + avatar, "height=20 width=20 class='img-circle'");?> + realname . '@' . $gitlabUser->account;?>
email;?>id]", $userPairs, $gitlabUser->zentaoAccount, "class='form-control select chosen'" );?>id]", $userPairs, $gitlabUser->zentaoAccount, "class='form-control select chosen gitlab-user-bind'" );?> id, $bindedUsers)):?> zentaoAccount, '');?> @@ -64,7 +88,7 @@ ' . $lang->gitlab->bindedError . '';?> - gitlab->notBind;?> + ' . $lang->gitlab->notBind . '';?>