rhosocial/yii2-organization

View on GitHub

Showing 816 of 816 total issues

Line exceeds 120 characters; contains 178 characters
Open

    'This is the {name} page. You may modify the following file to customize its content:' => '这是“{name}”页面。你可能需要修改以下文件以修改其内容。',

Line exceeds 120 characters; contains 157 characters
Open

        return $this->getUser()->setUpOrganization($this->name, $this->nickname, $this->gravatar_type, $this->gravatar, $this->timezone, $this->description);
Severity: Minor
Found in forms/SetUpForm.php by phpcodesniffer

Line exceeds 120 characters; contains 126 characters
Open

        $this->scenario = $this->organization->isOrganization() ? static::SCENARIO_ORGANIZATION : static::SCENARIO_DEPARTMENT;
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

                Yii::t('organization', 'That is to say, only the members of {name} are accepted.', ['name' => $topName]),
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                Yii::t('organization', 'This department only accepts members of the parent organization or department.') . "<br>" .
Severity: Minor
Found in forms/SettingsForm.php by phpcodesniffer

Line exceeds 120 characters; contains 144 characters
Open

                return Yii::$app->authManager->checkAccess($this->operator->getGUID(), (new SetUpDepartment)->name, ['organization' => $model]);

Line exceeds 120 characters; contains 178 characters
Open

                Yii::$app->session->setFlash(Module::SESSION_KEY_MESSAGE, '(' . $organization->profile->name . ' ' . $organization->getID() . ') ' . $this->updateSuccessMessage);

Line exceeds 120 characters; contains 122 characters
Open

            <?= Html::submitButton(Yii::t('user', 'Update'), ['class' => 'btn btn-primary', 'name' => 'update-button']) ?>

Line exceeds 120 characters; contains 221 characters
Open

                <li><?= Yii::t('organization', 'If you check "Exclude other members", members of other organizations (or their subordinate departments) can not join this organization and subordinate departments.') ?></li>

Line exceeds 120 characters; contains 203 characters
Open

    echo "<p>(" . Yii::t('organization', 'There {remaining,plural,=0{is no places} =1{is only one place} other{are # places}} left.', ['remaining' => $parent->getRemainingSubordinatePlaces()]) . ")</p>";

Line exceeds 120 characters; contains 145 characters
Open

        <?= Html::a(Yii::t('organization', 'Member List'), ['member', 'org' => $model->organization->getID()], ['class' => 'btn btn-primary']) ?>

Line exceeds 120 characters; contains 125 characters
Open

            $models = $this->createDepartment($name, $parent, $nickname, $gravatar_type, $gravatar, $timezone, $description);
Severity: Minor
Found in UserOrganizationTrait.php by phpcodesniffer

Line exceeds 120 characters; contains 272 characters
Open

    'All members of the other organizations (including their subordinates) who have joined this organization (including subordinate departments) are not affected.' => '已经加入本组织(含下属部门)的其它组织(含下属部门)的成员不受影响。',

Line exceeds 120 characters; contains 193 characters
Open

    'In order to facilitate the user to join the organization / department, you can add the following conditions' => '为了方便用户加入本组织/部门,您可以添加以下条件:',

Line exceeds 120 characters; contains 163 characters
Open

    'According to the department\'s setting, you cannot withdraw from this department proactively.' => '根据部门的设置,您不能主动退出本部门。',

Line exceeds 120 characters; contains 126 characters
Open

    'Are you sure you want to withdraw from this organization / department?' => '您确实想要退出该组织/部门吗?',

Line exceeds 120 characters; contains 148 characters
Open

        if (!Yii::$app->authManager->checkAccess(Yii::$app->user->identity, (new SetUpDepartment)->name, ['organization' => $model->getParent()])) {

Line exceeds 120 characters; contains 127 characters
Open

            <li><?= Yii::t('organization', 'If the join time is the same as the last update time, there is no change.') ?></li>

Line exceeds 120 characters; contains 135 characters
Open

        <li><?= Yii::t('organization', 'If no search criteria are specified, all organizations and departments are displayed.') ?></li>

Line exceeds 120 characters; contains 134 characters
Open

                <?= Html::submitButton(Yii::t('organization', 'Set up'), ['class' => 'btn btn-primary', 'name' => 'set-up-button']) ?>
Severity
Category
Status
Source
Language