Showing 816 of 816 total issues
Line exceeds 120 characters; contains 226 characters Open
Open
<li><?= Yii::t('organization', 'If you check "Only accept organization members", let the user try to join the organization where this department affiliated to first before joining this department.') ?></li>
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
<?= Html::a(Yii::t('organization', 'Update Profile'), ['update', 'id' => $organization->getID()], ['class' => 'btn btn-primary']) ?>
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
if (!($organization instanceof Organization) || ($organization->getIsNewRecord() && $organization = $organization->getGUID())) {
- Exclude checks
Line exceeds 120 characters; contains 187 characters Open
Open
throw new DisallowMemberJoinOtherException(Yii::t('organization', "An organization in which the user is located does not allow its members to join other organizations."));
- Exclude checks
Line exceeds 120 characters; contains 150 characters Open
Open
throw new OnlyAcceptCurrentOrgMemberException(Yii::t('organization' ,'This department is only accepted by members of the organization.'));
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
Open
if (!($organization instanceof Organization) || ($organization->getIsNewRecord() && $organization = $organization->getGUID())) {
- Exclude checks
Line exceeds 120 characters; contains 126 characters Open
Open
return $this->hasOne($this->memberUserClass, [$this->getNoInitMemberUser()->guidAttribute => $this->memberAttribute]);
- Exclude checks
Line exceeds 120 characters; contains 155 characters Open
Open
'If no search criteria are specified, all organizations and departments are displayed.' => '如果没有指定搜索条件,则显示全部组织。',
- Exclude checks
Line exceeds 120 characters; contains 131 characters Open
Open
'Are you sure to add this user to the organization / department?' => '您确定要将此用户添加到该组织/部门吗?',
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
'This department is only accepted by members of the organization.' => '此部门只接受所在组织成员加入。',
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
if (!empty($organization->joinPassword) && (!$model->load(Yii::$app->request->post()) || !$model->validate('password'))) {
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
if (!Yii::$app->authManager->checkAccess($user->getGUID(), (new ManageMember)->name, ['organization' => $org])) {
- Exclude checks
Line exceeds 120 characters; contains 181 characters Open
Open
Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, '(' . $model->getUser()->lastSetUpOrganization->getID() . ') ' . $this->departmentSetUpSuccessMessage);
- Exclude checks
Line exceeds 120 characters; contains 173 characters Open
Open
Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, '(' . $organization->profile->name . ' ' . $organization->getID() . ') ' . $this->updateFailedMessage);
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
$this->gridCaption = Yii::t('organization', "Here are all the organizations / departments you have joined:");
- Exclude checks
Line exceeds 120 characters; contains 199 characters Open
Open
'gridCaption' => $organization->isOrganization() ? Yii::t('organization', 'All subordinates of the current organization:') : Yii::t('organization', 'All subordinates of the current department:'),
- Exclude checks
Line exceeds 120 characters; contains 283 characters Open
Open
<li><?= Yii::t('organization', 'The organization where this department affiliated to has checked the "Exclude other members", meaning that members who have joined other organizations (or their subordinate departments) can no longer join this department.') ?></li>
- Exclude checks
Line exceeds 120 characters; contains 127 characters Open
Open
Yii::$app->session->setFlash(OrganizationController::SESSION_KEY_MESSAGE, $this->departmentSetUpFailedMessage);
- Exclude checks
Line exceeds 120 characters; contains 146 characters Open
Open
return $this->hasMany($this->organizationClass, [$this->guidAttribute => $this->getNoInitMember()->createdByAttribute])->via('ofMembers');
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
<?= Html::a(Yii::t('organization', 'Set Up New Organization'), ['set-up-organization'], ['class' => 'btn btn-primary']) ?>
- Exclude checks