| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474 |
- <?php
- global $app;
- $isEn = $app->getClientLang() == 'en';
- $config->product->dtable = new stdclass();
- $config->product->dtable->fieldList['name']['name'] = 'name';
- $config->product->dtable->fieldList['name']['title'] = $lang->product->name;
- $config->product->dtable->fieldList['name']['width'] = 0.2;
- $config->product->dtable->fieldList['name']['type'] = 'title';
- $config->product->dtable->fieldList['name']['flex'] = 1;
- $config->product->dtable->fieldList['name']['nestedToggle'] = false;
- $config->product->dtable->fieldList['name']['checkbox'] = true;
- $config->product->dtable->fieldList['name']['sortType'] = true;
- $config->product->dtable->fieldList['name']['align'] = 'left';
- $config->product->dtable->fieldList['name']['border'] = 'right';
- $config->product->dtable->fieldList['name']['link'] = helper::createLink('product', 'browse', "productID={id}");
- $config->product->dtable->fieldList['productLine']['name'] = 'productLine';
- $config->product->dtable->fieldList['productLine']['title'] = $lang->product->belongingLine;
- $config->product->dtable->fieldList['productLine']['width'] = 136;
- $config->product->dtable->fieldList['productLine']['type'] = 'format';
- $config->product->dtable->fieldList['productLine']['sortType'] = false;
- $config->product->dtable->fieldList['productLine']['border'] = 'right';
- $config->product->dtable->fieldList['productLine']['align'] = 'left';
- $config->product->dtable->fieldList['PO']['name'] = 'PO';
- $config->product->dtable->fieldList['PO']['title'] = $lang->product->manager;
- $config->product->dtable->fieldList['PO']['minWidth'] = 108;
- $config->product->dtable->fieldList['PO']['type'] = 'avatarBtn';
- $config->product->dtable->fieldList['PO']['sortType'] = true;
- $config->product->dtable->fieldList['PO']['border'] = 'right';
- $config->product->dtable->fieldList['PO']['align'] = 'left';
- $config->product->dtable->fieldList['draftStories']['name'] = 'draftStories';
- $config->product->dtable->fieldList['draftStories']['title'] = $lang->product->draftStory;
- $config->product->dtable->fieldList['draftStories']['minWidth'] = 64;
- $config->product->dtable->fieldList['draftStories']['type'] = 'number';
- $config->product->dtable->fieldList['draftStories']['sortType'] = false;
- $config->product->dtable->fieldList['draftStories']['align'] = 'center';
- $config->product->dtable->fieldList['activeStories']['name'] = 'activeStories';
- $config->product->dtable->fieldList['activeStories']['title'] = $lang->product->activeStory;
- $config->product->dtable->fieldList['activeStories']['minWidth'] = 64;
- $config->product->dtable->fieldList['activeStories']['type'] = 'number';
- $config->product->dtable->fieldList['activeStories']['sortType'] = false;
- $config->product->dtable->fieldList['activeStories']['align'] = 'center';
- $config->product->dtable->fieldList['changingStories']['name'] = 'changingStories';
- $config->product->dtable->fieldList['changingStories']['title'] = $lang->product->changingStory;
- $config->product->dtable->fieldList['changingStories']['minWidth'] = 64;
- $config->product->dtable->fieldList['changingStories']['type'] = 'number';
- $config->product->dtable->fieldList['changingStories']['sortType'] = false;
- $config->product->dtable->fieldList['changingStories']['align'] = 'center';
- $config->product->dtable->fieldList['reviewingStories']['name'] = 'reviewingStories';
- $config->product->dtable->fieldList['reviewingStories']['title'] = $lang->product->reviewingStory;
- $config->product->dtable->fieldList['reviewingStories']['minWidth'] = 64;
- $config->product->dtable->fieldList['reviewingStories']['type'] = 'number';
- $config->product->dtable->fieldList['reviewingStories']['sortType'] = false;
- $config->product->dtable->fieldList['reviewingStories']['align'] = 'center';
- $config->product->dtable->fieldList['storyCompleteRate']['name'] = 'storyCompleteRate';
- $config->product->dtable->fieldList['storyCompleteRate']['title'] = $lang->product->completeRate;
- $config->product->dtable->fieldList['storyCompleteRate']['minWidth'] = 64;
- $config->product->dtable->fieldList['storyCompleteRate']['type'] = 'progress';
- $config->product->dtable->fieldList['storyCompleteRate']['sortType'] = false;
- $config->product->dtable->fieldList['storyCompleteRate']['border'] = 'right';
- $config->product->dtable->fieldList['storyCompleteRate']['align'] = 'center';
- $config->product->dtable->fieldList['plans']['name'] = 'plans';
- $config->product->dtable->fieldList['plans']['title'] = $lang->product->plan;
- $config->product->dtable->fieldList['plans']['minWidth'] = 64;
- $config->product->dtable->fieldList['plans']['type'] = 'number';
- $config->product->dtable->fieldList['plans']['sortType'] = false;
- $config->product->dtable->fieldList['plans']['border'] = 'right';
- $config->product->dtable->fieldList['plans']['align'] = 'center';
- $config->product->dtable->fieldList['status']['name'] = 'status';
- $config->product->dtable->fieldList['status']['title'] = $lang->product->status;
- $config->product->dtable->fieldList['status']['minWidth'] = 64;
- $config->product->dtable->fieldList['status']['type'] = 'status';
- $config->product->dtable->fieldList['status']['sortType'] = false;
- $config->product->dtable->fieldList['status']['statusMap'] = $lang->product->statusList;
- $config->product->dtable->fieldList['status']['border'] = 'right';
- $config->product->dtable->fieldList['status']['align'] = 'center';
- $config->product->dtable->fieldList['execution']['name'] = 'execution';
- $config->product->dtable->fieldList['execution']['title'] = $lang->execution->common;
- $config->product->dtable->fieldList['execution']['minWidth'] = 64;
- $config->product->dtable->fieldList['execution']['type'] = 'number';
- $config->product->dtable->fieldList['execution']['sortType'] = false;
- $config->product->dtable->fieldList['execution']['border'] = 'right';
- $config->product->dtable->fieldList['execution']['align'] = 'center';
- $config->product->dtable->fieldList['testCaseCoverage']['name'] = 'testCaseCoverage';
- $config->product->dtable->fieldList['testCaseCoverage']['title'] = $lang->product->testCaseCoverage;
- $config->product->dtable->fieldList['testCaseCoverage']['minWidth'] = 86;
- $config->product->dtable->fieldList['testCaseCoverage']['type'] = 'progress';
- $config->product->dtable->fieldList['testCaseCoverage']['hint'] = $lang->product->testCaseCoverageInfo;
- $config->product->dtable->fieldList['testCaseCoverage']['sortType'] = false;
- $config->product->dtable->fieldList['testCaseCoverage']['border'] = 'right';
- $config->product->dtable->fieldList['unresolvedBugs']['name'] = 'unresolvedBugs';
- $config->product->dtable->fieldList['unresolvedBugs']['title'] = $lang->product->activatedBug;
- $config->product->dtable->fieldList['unresolvedBugs']['minWidth'] = 64;
- $config->product->dtable->fieldList['unresolvedBugs']['type'] = 'number';
- $config->product->dtable->fieldList['unresolvedBugs']['sortType'] = false;
- $config->product->dtable->fieldList['unresolvedBugs']['align'] = 'center';
- $config->product->dtable->fieldList['bugFixedRate']['name'] = 'bugFixedRate';
- $config->product->dtable->fieldList['bugFixedRate']['title'] = $lang->product->bugFixedRate;
- $config->product->dtable->fieldList['bugFixedRate']['minWidth'] = 64;
- $config->product->dtable->fieldList['bugFixedRate']['type'] = 'progress';
- $config->product->dtable->fieldList['bugFixedRate']['sortType'] = false;
- $config->product->dtable->fieldList['bugFixedRate']['align'] = 'center';
- $config->product->dtable->fieldList['bugFixedRate']['border'] = 'right';
- $config->product->dtable->fieldList['releases']['name'] = 'releases';
- $config->product->dtable->fieldList['releases']['title'] = $lang->product->release;
- $config->product->dtable->fieldList['releases']['minWidth'] = 64;
- $config->product->dtable->fieldList['releases']['type'] = 'number';
- $config->product->dtable->fieldList['releases']['sortType'] = false;
- $config->product->dtable->fieldList['releases']['align'] = 'center';
- $config->product->dtable->fieldList['actions']['name'] = 'actions';
- $config->product->dtable->fieldList['actions']['title'] = $lang->actions;
- $config->product->dtable->fieldList['actions']['type'] = 'actions';
- $config->product->dtable->fieldList['actions']['minWidth'] = '60';
- $config->product->dtable->fieldList['actions']['fixed'] = 'right';
- $config->product->dtable->fieldList['actions']['menu'] = array('edit');
- $config->product->dtable->fieldList['actions']['list'] = $config->product->actionList;
- /* Default definition of WorkFlow extend fields. */
- $config->product->dtable->extendField['name'] = 'field';
- $config->product->dtable->extendField['title'] = 'name';
- $config->product->dtable->extendField['minWidth'] = 64;
- $config->product->dtable->extendField['type'] = 'number';
- $config->product->dtable->extendField['sortType'] = false;
- $config->product->dtable->extendField['align'] = 'center';
- $config->product->dtable->extendField['border'] = 'left';
- $config->productProject = new stdclass();
- $config->productProject->showFields = array('id', 'program', 'name', 'status', 'PM', 'storyPoints', 'storyCount', 'executionCount', 'budget', 'teamCount', 'invested', 'begin', 'end', 'realBegan', 'realEnd', 'estimate', 'consume', 'progress');
- /* Fields of product list page. */
- if(!isset($config->product->all)) $config->product->all = new stdclass();
- $config->product->all->dtable = new stdclass();
- $config->product->all->dtable->fieldList['name']['name'] = 'name';
- $config->product->all->dtable->fieldList['name']['shortTitle'] = $lang->product->name;
- $config->product->all->dtable->fieldList['name']['width'] = 0.2;
- $config->product->all->dtable->fieldList['name']['type'] = 'title';
- $config->product->all->dtable->fieldList['name']['show'] = true;
- $config->product->all->dtable->fieldList['name']['nestedToggle'] = false;
- $config->product->all->dtable->fieldList['name']['checkbox'] = true;
- $config->product->all->dtable->fieldList['name']['link'] = array('module' => 'product', 'method' => 'browse', 'params' => "productID={id}");
- $config->product->all->dtable->fieldList['name']['sortType'] = true;
- $config->product->all->dtable->fieldList['name']['group'] = 'g1';
- if(!empty($config->setCode))
- {
- $config->product->all->dtable->fieldList['code']['name'] = 'code';
- $config->product->all->dtable->fieldList['code']['title'] = $lang->product->code;
- $config->product->all->dtable->fieldList['code']['width'] = 80;
- $config->product->all->dtable->fieldList['code']['type'] = 'format';
- $config->product->all->dtable->fieldList['code']['show'] = true;
- $config->product->all->dtable->fieldList['code']['sortType'] = true;
- $config->product->all->dtable->fieldList['code']['group'] = 'g1';
- }
- $config->product->all->dtable->fieldList['productLine']['name'] = 'productLine';
- $config->product->all->dtable->fieldList['productLine']['title'] = $lang->product->belongingLine;
- $config->product->all->dtable->fieldList['productLine']['width'] = 136;
- $config->product->all->dtable->fieldList['productLine']['type'] = 'format';
- $config->product->all->dtable->fieldList['productLine']['show'] = true;
- $config->product->all->dtable->fieldList['productLine']['sortType'] = true;
- $config->product->all->dtable->fieldList['productLine']['group'] = 'g2';
- $config->product->all->dtable->fieldList['PO']['name'] = 'PO';
- $config->product->all->dtable->fieldList['PO']['title'] = $lang->product->manager;
- $config->product->all->dtable->fieldList['PO']['width'] = 108;
- $config->product->all->dtable->fieldList['PO']['type'] = 'avatarBtn';
- $config->product->all->dtable->fieldList['PO']['show'] = true;
- $config->product->all->dtable->fieldList['PO']['sortType'] = true;
- $config->product->all->dtable->fieldList['PO']['group'] = 'g3';
- $config->product->all->dtable->fieldList['createdBy']['name'] = 'createdBy';
- $config->product->all->dtable->fieldList['createdBy']['title'] = $lang->openedByAB;
- $config->product->all->dtable->fieldList['createdBy']['width'] = 80;
- $config->product->all->dtable->fieldList['createdBy']['type'] = 'user';
- $config->product->all->dtable->fieldList['createdBy']['sortType'] = true;
- $config->product->all->dtable->fieldList['createdBy']['group'] = '1';
- $config->product->all->dtable->fieldList['createdDate']['name'] = 'createdDate';
- $config->product->all->dtable->fieldList['createdDate']['title'] = $lang->product->createdDate;
- $config->product->all->dtable->fieldList['createdDate']['width'] = 90;
- $config->product->all->dtable->fieldList['createdDate']['type'] = 'date';
- $config->product->all->dtable->fieldList['createdDate']['sortType'] = true;
- $config->product->all->dtable->fieldList['createdDate']['group'] = '1';
- if($config->enableER)
- {
- $config->product->all->dtable->fieldList['draftEpics']['name'] = 'draftEpics';
- $config->product->all->dtable->fieldList['draftEpics']['title'] = $lang->product->draftStory;
- $config->product->all->dtable->fieldList['draftEpics']['width'] = 64;
- $config->product->all->dtable->fieldList['draftEpics']['type'] = 'number';
- $config->product->all->dtable->fieldList['draftEpics']['show'] = true;
- $config->product->all->dtable->fieldList['draftEpics']['sortType'] = true;
- $config->product->all->dtable->fieldList['draftEpics']['group'] = 'epicCount';
- $config->product->all->dtable->fieldList['draftEpics']['headerGroup'] = $lang->ERCommon;
- $config->product->all->dtable->fieldList['activeEpics']['name'] = 'activeEpics';
- $config->product->all->dtable->fieldList['activeEpics']['title'] = $lang->product->activeStory;
- $config->product->all->dtable->fieldList['activeEpics']['width'] = 64;
- $config->product->all->dtable->fieldList['activeEpics']['type'] = 'number';
- $config->product->all->dtable->fieldList['activeEpics']['show'] = true;
- $config->product->all->dtable->fieldList['activeEpics']['sortType'] = true;
- $config->product->all->dtable->fieldList['activeEpics']['group'] = 'epicCount';
- $config->product->all->dtable->fieldList['activeEpics']['headerGroup'] = $lang->ERCommon;
- $config->product->all->dtable->fieldList['changingEpics']['name'] = 'changingEpics';
- $config->product->all->dtable->fieldList['changingEpics']['title'] = $lang->product->changingStory;
- $config->product->all->dtable->fieldList['changingEpics']['width'] = 64;
- $config->product->all->dtable->fieldList['changingEpics']['type'] = 'number';
- $config->product->all->dtable->fieldList['changingEpics']['show'] = true;
- $config->product->all->dtable->fieldList['changingEpics']['sortType'] = true;
- $config->product->all->dtable->fieldList['changingEpics']['group'] = 'epicCount';
- $config->product->all->dtable->fieldList['changingEpics']['headerGroup'] = $lang->ERCommon;
- $config->product->all->dtable->fieldList['reviewingEpics']['name'] = 'reviewingEpics';
- $config->product->all->dtable->fieldList['reviewingEpics']['title'] = $lang->product->reviewingStory;
- $config->product->all->dtable->fieldList['reviewingEpics']['width'] = 64;
- $config->product->all->dtable->fieldList['reviewingEpics']['type'] = 'number';
- $config->product->all->dtable->fieldList['reviewingEpics']['show'] = true;
- $config->product->all->dtable->fieldList['reviewingEpics']['sortType'] = true;
- $config->product->all->dtable->fieldList['reviewingEpics']['group'] = 'epicCount';
- $config->product->all->dtable->fieldList['reviewingEpics']['headerGroup'] = $lang->ERCommon;
- $config->product->all->dtable->fieldList['totalEpics']['name'] = 'totalEpics';
- $config->product->all->dtable->fieldList['totalEpics']['title'] = $lang->product->totalEpics;
- $config->product->all->dtable->fieldList['totalEpics']['width'] = 92;
- $config->product->all->dtable->fieldList['totalEpics']['minWidth'] = 100;
- $config->product->all->dtable->fieldList['totalEpics']['type'] = 'number';
- $config->product->all->dtable->fieldList['totalEpics']['sortType'] = true;
- $config->product->all->dtable->fieldList['totalEpics']['group'] = 'epicCount';
- $config->product->all->dtable->fieldList['totalEpics']['headerGroup'] = $lang->ERCommon;
- $config->product->all->dtable->fieldList['epicCompleteRate']['name'] = 'epicCompleteRate';
- $config->product->all->dtable->fieldList['epicCompleteRate']['title'] = $lang->product->completeRate;
- $config->product->all->dtable->fieldList['epicCompleteRate']['width'] = 64;
- $config->product->all->dtable->fieldList['epicCompleteRate']['type'] = 'progress';
- $config->product->all->dtable->fieldList['epicCompleteRate']['show'] = true;
- $config->product->all->dtable->fieldList['epicCompleteRate']['sortType'] = false;
- $config->product->all->dtable->fieldList['epicCompleteRate']['group'] = 'epicCount';
- $config->product->all->dtable->fieldList['epicCompleteRate']['headerGroup'] = $lang->ERCommon;
- if($isEn)
- {
- $config->product->all->dtable->fieldList['changingEpics']['width'] = 96;
- $config->product->all->dtable->fieldList['reviewingEpics']['width'] = 96;
- $config->product->all->dtable->fieldList['epicCompleteRate']['width'] = 112;
- }
- }
- if($config->URAndSR)
- {
- $config->product->all->dtable->fieldList['draftRequirements']['name'] = 'draftRequirements';
- $config->product->all->dtable->fieldList['draftRequirements']['title'] = $lang->product->draftStory;
- $config->product->all->dtable->fieldList['draftRequirements']['width'] = 64;
- $config->product->all->dtable->fieldList['draftRequirements']['type'] = 'number';
- $config->product->all->dtable->fieldList['draftRequirements']['show'] = true;
- $config->product->all->dtable->fieldList['draftRequirements']['sortType'] = true;
- $config->product->all->dtable->fieldList['draftRequirements']['group'] = 'requirementCount';
- $config->product->all->dtable->fieldList['draftRequirements']['headerGroup'] = $lang->URCommon;
- $config->product->all->dtable->fieldList['activeRequirements']['name'] = 'activeRequirements';
- $config->product->all->dtable->fieldList['activeRequirements']['title'] = $lang->product->activeStory;
- $config->product->all->dtable->fieldList['activeRequirements']['width'] = 64;
- $config->product->all->dtable->fieldList['activeRequirements']['type'] = 'number';
- $config->product->all->dtable->fieldList['activeRequirements']['show'] = true;
- $config->product->all->dtable->fieldList['activeRequirements']['sortType'] = true;
- $config->product->all->dtable->fieldList['activeRequirements']['group'] = 'requirementCount';
- $config->product->all->dtable->fieldList['activeRequirements']['headerGroup'] = $lang->URCommon;
- $config->product->all->dtable->fieldList['changingRequirements']['name'] = 'changingRequirements';
- $config->product->all->dtable->fieldList['changingRequirements']['title'] = $lang->product->changingStory;
- $config->product->all->dtable->fieldList['changingRequirements']['width'] = 64;
- $config->product->all->dtable->fieldList['changingRequirements']['type'] = 'number';
- $config->product->all->dtable->fieldList['changingRequirements']['show'] = true;
- $config->product->all->dtable->fieldList['changingRequirements']['sortType'] = true;
- $config->product->all->dtable->fieldList['changingRequirements']['group'] = 'requirementCount';
- $config->product->all->dtable->fieldList['changingRequirements']['headerGroup'] = $lang->URCommon;
- $config->product->all->dtable->fieldList['reviewingRequirements']['name'] = 'reviewingRequirements';
- $config->product->all->dtable->fieldList['reviewingRequirements']['title'] = $lang->product->reviewingStory;
- $config->product->all->dtable->fieldList['reviewingRequirements']['width'] = 64;
- $config->product->all->dtable->fieldList['reviewingRequirements']['type'] = 'number';
- $config->product->all->dtable->fieldList['reviewingRequirements']['show'] = true;
- $config->product->all->dtable->fieldList['reviewingRequirements']['sortType'] = true;
- $config->product->all->dtable->fieldList['reviewingRequirements']['group'] = 'requirementCount';
- $config->product->all->dtable->fieldList['reviewingRequirements']['headerGroup'] = $lang->URCommon;
- $config->product->all->dtable->fieldList['totalRequirements']['name'] = 'totalRequirements';
- $config->product->all->dtable->fieldList['totalRequirements']['title'] = $lang->product->totalRequirements;
- $config->product->all->dtable->fieldList['totalRequirements']['width'] = 92;
- $config->product->all->dtable->fieldList['totalRequirements']['minWidth'] = 100;
- $config->product->all->dtable->fieldList['totalRequirements']['type'] = 'number';
- $config->product->all->dtable->fieldList['totalRequirements']['sortType'] = true;
- $config->product->all->dtable->fieldList['totalRequirements']['group'] = 'requirementCount';
- $config->product->all->dtable->fieldList['totalRequirements']['headerGroup'] = $lang->URCommon;
- $config->product->all->dtable->fieldList['requirementCompleteRate']['name'] = 'requirementCompleteRate';
- $config->product->all->dtable->fieldList['requirementCompleteRate']['title'] = $lang->product->completeRate;
- $config->product->all->dtable->fieldList['requirementCompleteRate']['width'] = 64;
- $config->product->all->dtable->fieldList['requirementCompleteRate']['type'] = 'progress';
- $config->product->all->dtable->fieldList['requirementCompleteRate']['show'] = true;
- $config->product->all->dtable->fieldList['requirementCompleteRate']['sortType'] = false;
- $config->product->all->dtable->fieldList['requirementCompleteRate']['group'] = 'requirementCount';
- $config->product->all->dtable->fieldList['requirementCompleteRate']['headerGroup'] = $lang->URCommon;
- if($isEn)
- {
- $config->product->all->dtable->fieldList['changingRequirements']['width'] = 96;
- $config->product->all->dtable->fieldList['reviewingRequirements']['width'] = 96;
- $config->product->all->dtable->fieldList['requirementCompleteRate']['width'] = 112;
- }
- }
- $config->product->all->dtable->fieldList['draftStories']['name'] = 'draftStories';
- $config->product->all->dtable->fieldList['draftStories']['title'] = $lang->product->draftStory;
- $config->product->all->dtable->fieldList['draftStories']['width'] = 64;
- $config->product->all->dtable->fieldList['draftStories']['type'] = 'number';
- $config->product->all->dtable->fieldList['draftStories']['show'] = true;
- $config->product->all->dtable->fieldList['draftStories']['sortType'] = true;
- $config->product->all->dtable->fieldList['draftStories']['group'] = 'storyCount';
- $config->product->all->dtable->fieldList['draftStories']['headerGroup'] = $lang->SRCommon;
- $config->product->all->dtable->fieldList['activeStories']['name'] = 'activeStories';
- $config->product->all->dtable->fieldList['activeStories']['title'] = $lang->product->activeStory;
- $config->product->all->dtable->fieldList['activeStories']['width'] = 64;
- $config->product->all->dtable->fieldList['activeStories']['type'] = 'number';
- $config->product->all->dtable->fieldList['activeStories']['show'] = true;
- $config->product->all->dtable->fieldList['activeStories']['sortType'] = true;
- $config->product->all->dtable->fieldList['activeStories']['group'] = 'storyCount';
- $config->product->all->dtable->fieldList['activeStories']['headerGroup'] = $lang->SRCommon;
- $config->product->all->dtable->fieldList['changingStories']['name'] = 'changingStories';
- $config->product->all->dtable->fieldList['changingStories']['title'] = $lang->product->changingStory;
- $config->product->all->dtable->fieldList['changingStories']['width'] = 64;
- $config->product->all->dtable->fieldList['changingStories']['type'] = 'number';
- $config->product->all->dtable->fieldList['changingStories']['show'] = true;
- $config->product->all->dtable->fieldList['changingStories']['sortType'] = true;
- $config->product->all->dtable->fieldList['changingStories']['group'] = 'storyCount';
- $config->product->all->dtable->fieldList['changingStories']['headerGroup'] = $lang->SRCommon;
- $config->product->all->dtable->fieldList['reviewingStories']['name'] = 'reviewingStories';
- $config->product->all->dtable->fieldList['reviewingStories']['title'] = $lang->product->reviewingStory;
- $config->product->all->dtable->fieldList['reviewingStories']['width'] = 64;
- $config->product->all->dtable->fieldList['reviewingStories']['type'] = 'number';
- $config->product->all->dtable->fieldList['reviewingStories']['show'] = true;
- $config->product->all->dtable->fieldList['reviewingStories']['sortType'] = true;
- $config->product->all->dtable->fieldList['reviewingStories']['group'] = 'storyCount';
- $config->product->all->dtable->fieldList['reviewingStories']['headerGroup'] = $lang->SRCommon;
- $config->product->all->dtable->fieldList['totalStories']['name'] = 'totalStories';
- $config->product->all->dtable->fieldList['totalStories']['title'] = $lang->product->totalStories;
- $config->product->all->dtable->fieldList['totalStories']['width'] = 92;
- $config->product->all->dtable->fieldList['totalStories']['minWidth'] = 100;
- $config->product->all->dtable->fieldList['totalStories']['type'] = 'number';
- $config->product->all->dtable->fieldList['totalStories']['sortType'] = true;
- $config->product->all->dtable->fieldList['totalStories']['group'] = 'storyCount';
- $config->product->all->dtable->fieldList['totalStories']['headerGroup'] = $lang->SRCommon;
- $config->product->all->dtable->fieldList['storyCompleteRate']['name'] = 'storyCompleteRate';
- $config->product->all->dtable->fieldList['storyCompleteRate']['title'] = $lang->product->completeRate;
- $config->product->all->dtable->fieldList['storyCompleteRate']['width'] = 64;
- $config->product->all->dtable->fieldList['storyCompleteRate']['type'] = 'progress';
- $config->product->all->dtable->fieldList['storyCompleteRate']['show'] = true;
- $config->product->all->dtable->fieldList['storyCompleteRate']['sortType'] = false;
- $config->product->all->dtable->fieldList['storyCompleteRate']['group'] = 'storyCount';
- $config->product->all->dtable->fieldList['storyCompleteRate']['headerGroup'] = $lang->SRCommon;
- $config->product->all->dtable->fieldList['plans']['name'] = 'plans';
- $config->product->all->dtable->fieldList['plans']['title'] = $lang->product->plan;
- $config->product->all->dtable->fieldList['plans']['width'] = 64;
- $config->product->all->dtable->fieldList['plans']['type'] = 'number';
- $config->product->all->dtable->fieldList['plans']['show'] = true;
- $config->product->all->dtable->fieldList['plans']['sortType'] = true;
- $config->product->all->dtable->fieldList['plans']['group'] = 'g5';
- $config->product->all->dtable->fieldList['executions']['name'] = 'executions';
- $config->product->all->dtable->fieldList['executions']['title'] = $lang->execution->common;
- $config->product->all->dtable->fieldList['executions']['width'] = 64;
- $config->product->all->dtable->fieldList['executions']['type'] = 'number';
- $config->product->all->dtable->fieldList['executions']['show'] = true;
- $config->product->all->dtable->fieldList['executions']['sortType'] = false;
- $config->product->all->dtable->fieldList['executions']['group'] = 'g6';
- $config->product->all->dtable->fieldList['testCaseCoverage']['name'] = 'testCaseCoverage';
- $config->product->all->dtable->fieldList['testCaseCoverage']['title'] = $lang->product->testCaseCoverage;
- $config->product->all->dtable->fieldList['testCaseCoverage']['width'] = 80;
- $config->product->all->dtable->fieldList['testCaseCoverage']['type'] = 'progress';
- $config->product->all->dtable->fieldList['testCaseCoverage']['minWidth'] = 80;
- $config->product->all->dtable->fieldList['testCaseCoverage']['show'] = true;
- $config->product->all->dtable->fieldList['testCaseCoverage']['sortType'] = false;
- $config->product->all->dtable->fieldList['testCaseCoverage']['hint'] = $lang->product->testCaseCoverageInfo;
- $config->product->all->dtable->fieldList['testCaseCoverage']['group'] = 'g7';
- $config->product->all->dtable->fieldList['unresolvedBugs']['name'] = 'unresolvedBugs';
- $config->product->all->dtable->fieldList['unresolvedBugs']['title'] = $lang->product->activatedBug;
- $config->product->all->dtable->fieldList['unresolvedBugs']['width'] = 64;
- $config->product->all->dtable->fieldList['unresolvedBugs']['minWidth'] = 86;
- $config->product->all->dtable->fieldList['unresolvedBugs']['type'] = 'number';
- $config->product->all->dtable->fieldList['unresolvedBugs']['show'] = true;
- $config->product->all->dtable->fieldList['unresolvedBugs']['sortType'] = true;
- $config->product->all->dtable->fieldList['unresolvedBugs']['group'] = 'g8';
- $config->product->all->dtable->fieldList['totalBugs']['name'] = 'totalBugs';
- $config->product->all->dtable->fieldList['totalBugs']['title'] = $lang->product->totalBugs;
- $config->product->all->dtable->fieldList['totalBugs']['width'] = 64;
- $config->product->all->dtable->fieldList['totalBugs']['minWidth'] = 86;
- $config->product->all->dtable->fieldList['totalBugs']['type'] = 'number';
- $config->product->all->dtable->fieldList['totalBugs']['sortType'] = true;
- $config->product->all->dtable->fieldList['totalBugs']['group'] = 'g8';
- $config->product->all->dtable->fieldList['bugFixedRate']['name'] = 'bugFixedRate';
- $config->product->all->dtable->fieldList['bugFixedRate']['title'] = $lang->product->bugFixedRate;
- $config->product->all->dtable->fieldList['bugFixedRate']['width'] = 64;
- $config->product->all->dtable->fieldList['bugFixedRate']['type'] = 'progress';
- $config->product->all->dtable->fieldList['bugFixedRate']['show'] = true;
- $config->product->all->dtable->fieldList['bugFixedRate']['sortType'] = false;
- $config->product->all->dtable->fieldList['bugFixedRate']['group'] = 'g8';
- $config->product->all->dtable->fieldList['releases']['name'] = 'releases';
- $config->product->all->dtable->fieldList['releases']['title'] = $lang->product->release;
- $config->product->all->dtable->fieldList['releases']['width'] = 95;
- $config->product->all->dtable->fieldList['releases']['type'] = 'number';
- $config->product->all->dtable->fieldList['releases']['show'] = true;
- $config->product->all->dtable->fieldList['releases']['sortType'] = true;
- $config->product->all->dtable->fieldList['releases']['group'] = 'g9';
- $config->product->all->dtable->fieldList['latestReleaseDate']['name'] = 'latestReleaseDate';
- $config->product->all->dtable->fieldList['latestReleaseDate']['title'] = $lang->product->latestReleaseDate;
- $config->product->all->dtable->fieldList['latestReleaseDate']['width'] = 120;
- $config->product->all->dtable->fieldList['latestReleaseDate']['minWidth'] = 120;
- $config->product->all->dtable->fieldList['latestReleaseDate']['type'] = 'date';
- $config->product->all->dtable->fieldList['latestReleaseDate']['sortType'] = false;
- $config->product->all->dtable->fieldList['latestReleaseDate']['group'] = 'g9';
- $config->product->all->dtable->fieldList['latestRelease']['name'] = 'latestRelease';
- $config->product->all->dtable->fieldList['latestRelease']['title'] = $lang->product->latestRelease;
- $config->product->all->dtable->fieldList['latestRelease']['width'] = 136;
- $config->product->all->dtable->fieldList['latestRelease']['minWidth'] = 80;
- $config->product->all->dtable->fieldList['latestRelease']['type'] = 'text';
- $config->product->all->dtable->fieldList['latestRelease']['filterType'] = true;
- $config->product->all->dtable->fieldList['latestRelease']['group'] = 'g9';
- if($isEn)
- {
- $config->product->all->dtable->fieldList['changingStories']['width'] = 96;
- $config->product->all->dtable->fieldList['reviewingStories']['width'] = 96;
- $config->product->all->dtable->fieldList['storyCompleteRate']['width'] = 112;
- $config->product->all->dtable->fieldList['executions']['width'] = 80;
- $config->product->all->dtable->fieldList['testCaseCoverage']['width'] = 136;
- $config->product->all->dtable->fieldList['unresolvedBugs']['width'] = 120;
- $config->product->all->dtable->fieldList['releases']['width'] = 120;
- $config->product->all->dtable->fieldList['PO']['width'] = 150;
- }
- if($config->systemMode != 'ALM' && $config->systemMode != 'PLM')
- {
- unset($config->product->dtable->fieldList['productLine']);
- unset($config->product->all->dtable->fieldList['productLine']);
- }
|