...Человеческий поиск в разработке...
- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/grid/scrum/row/content/role.php
- Класс: Bitrix\Tasks\Grid\Scrum\Row\Content\Role
- Вызов: Role::createRequestingLayout
private function createRequestingLayout(array $user): string { $requestPath = \CComponentEngine::makePathFromTemplate( $this->getParameters()['PATH_TO_USER_REQUESTS'], ['user_id' => $user['ID']] ); $userGroupRelationId = $this->getRowData()['USER_GROUP_ID']; if ($user['IS_ACCESS_REQUESTING_BY_ME'] === 'Y') { $text = Loc::getMessage('TASKS_GRID_SCRUM_ROW_CONTENT_ROLE_REQUEST_SENT'); return "" ; } $text = Loc::getMessage('TASKS_GRID_SCRUM_ROW_CONTENT_ROLE_INVITED'); return "{$text}" ; }{$text}