* Add lang and ui page.
This commit is contained in:
@@ -327,6 +327,8 @@ $lang->project->featureBar['testcase']['autocase'] = 'Automated';
|
||||
|
||||
$lang->project->featureBar['build']['all'] = 'Build List';
|
||||
|
||||
$lang->project->featureBar['group']['all'] = 'All Groups';
|
||||
|
||||
$lang->project->aclList['private'] = "Private (For the {$lang->projectCommon} leader, team members and stakeholders only)";
|
||||
$lang->project->aclList['open'] = "Open (accessible with {$lang->projectCommon} view permissions)";
|
||||
|
||||
|
||||
@@ -327,6 +327,8 @@ $lang->project->featureBar['testcase']['autocase'] = 'Automated';
|
||||
|
||||
$lang->project->featureBar['build']['all'] = 'Build List';
|
||||
|
||||
$lang->project->featureBar['group']['all'] = 'All Groups';
|
||||
|
||||
$lang->project->aclList['private'] = "Private (For the {$lang->projectCommon} leader, team members and stakeholders only)";
|
||||
$lang->project->aclList['open'] = "Open (accessible with {$lang->projectCommon} view permissions)";
|
||||
|
||||
|
||||
@@ -327,6 +327,8 @@ $lang->project->featureBar['testcase']['autocase'] = 'Automated';
|
||||
|
||||
$lang->project->featureBar['build']['all'] = 'Build List';
|
||||
|
||||
$lang->project->featureBar['group']['all'] = 'All Groups';
|
||||
|
||||
$lang->project->aclList['private'] = "Private (For the {$lang->projectCommon} leader, team members and stakeholders only)";
|
||||
$lang->project->aclList['open'] = "Open (accessible with {$lang->projectCommon} view permissions)";
|
||||
|
||||
|
||||
@@ -329,6 +329,8 @@ $lang->project->featureBar['testtask']['all'] = '测试单列表';
|
||||
|
||||
$lang->project->featureBar['build']['all'] = '全部版本';
|
||||
|
||||
$lang->project->featureBar['group']['all'] = '浏览分组';
|
||||
|
||||
$lang->project->aclList['private'] = "私有 (只有{$lang->projectCommon}负责人、团队成员和干系人可访问)";
|
||||
$lang->project->aclList['open'] = "公开 (有{$lang->projectCommon}视图权限即可访问)";
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* The browse view file of project module of ZenTaoPMS.
|
||||
*
|
||||
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(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 Sun Guangming<sunguangming@easycorp.ltd>
|
||||
* @package project
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
|
||||
namespace zin;
|
||||
|
||||
/* zin: Define the feature bar on main menu. */
|
||||
featureBar
|
||||
(
|
||||
set::current('all'),
|
||||
);
|
||||
|
||||
/* zin: Define the toolbar on main menu. */
|
||||
toolbar
|
||||
(
|
||||
item(set(array
|
||||
(
|
||||
'icon' => 'plus',
|
||||
'text' => $lang->group->create,
|
||||
'class' => "primary create-project-btn",
|
||||
'url' => $this->createLink('project', 'createGroup', '', '', true),
|
||||
'data-modal' => 'modal'
|
||||
)))
|
||||
);
|
||||
|
||||
$groups = initTableData($groups, $config->projectGroup->dtable->fieldList, $this->project);
|
||||
|
||||
/* zin: Define the dtable in main content. */
|
||||
dtable
|
||||
(
|
||||
set::fixedLeftWidth('30%'),
|
||||
set::cols(array_values($config->projectGroup->dtable->fieldList)),
|
||||
set::data($groups),
|
||||
set::footToolbar($footToolbar),
|
||||
);
|
||||
|
||||
render();
|
||||
Reference in New Issue
Block a user