| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- /**
- * The user issue view file of stakeholder module of ZenTaoPMS.
- * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
- * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
- * @author Mengyi Liu
- * @package stakeholder
- * @link https://www.zentao.net
- */
- namespace zin;
- setID('stakeholderIssueModal');
- modalHeader
- (
- set::entityText($lang->stakeholder->userIssue), set::entityID(''), set::title(''),
- to::suffix
- (
- toolbar
- (
- setClass('ml-auto'),
- btn
- (
- setClass('primary'),
- setData(array('toggle' => 'modal', 'size' => 'lg')),
- set::icon('plus'),
- set::text($lang->issue->create),
- set::url(createLink('issue', 'create', "projectID={$projectID}&from=stakeholder&owner={$stakeholder->user}"))
- )
- )
- )
- );
- $cols = array();
- $cols['title'] = $config->issue->dtable->fieldList['title'];
- $cols['type'] = $config->issue->dtable->fieldList['type'];
- $cols['severity'] = $config->issue->dtable->fieldList['severity'];
- $cols['pri'] = $config->issue->dtable->fieldList['pri'];
- $cols['status'] = $config->issue->dtable->fieldList['status'];
- $cols['createdDate'] = $config->issue->dtable->fieldList['createdDate'];
- $cols['title']['data-toggle'] = 'modal';
- $cols['title']['data-size'] = 'lg';
- dtable
- (
- set::cols($cols),
- set::data(array_values($issueList))
- );
- render();
|