- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/grid/scrum/row/content/role.php
- Класс: Bitrix\Tasks\Grid\Scrum\Row\Content\Role
- Вызов: Role::createRequestButton
private function createRequestButton(): string { $row = $this->getRowData(); $text = Loc::getMessage('TASKS_GRID_SCRUM_ROW_CONTENT_ROLE_JOIN'); if ($row['OPENED'] === 'Y') { $requestUrl = \CComponentEngine::makePathFromTemplate( $this->getParameters()['PATH_TO_USER_REQUEST_GROUP'], ['group_id' => $row['ID']] ); return "{$text}" ; } return " {$text} " ; }