| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557 |
- <?php
- global $lang, $app;
- $isEn = $app->getClientLang() == 'en';
- $config->story->dtable = new stdclass();
- $config->story->dtable->defaultField = array('id', 'title', 'pri', 'plan', 'roadmap', 'status', 'openedBy', 'estimate', 'reviewedBy', 'stage', 'assignedTo', 'taskCount', 'actions');
- $config->story->dtable->fieldList['id']['name'] = 'id';
- $config->story->dtable->fieldList['id']['title'] = $lang->idAB;
- $config->story->dtable->fieldList['id']['fixed'] = 'left';
- $config->story->dtable->fieldList['id']['required'] = true;
- $config->story->dtable->fieldList['id']['type'] = 'checkID';
- $config->story->dtable->fieldList['id']['checkbox'] = true;
- $config->story->dtable->fieldList['id']['show'] = true;
- $config->story->dtable->fieldList['id']['sortType'] = true;
- $config->story->dtable->fieldList['id']['group'] = 1;
- if($app->tab == 'execution')
- {
- $config->story->dtable->fieldList['order']['name'] = 'order';
- $config->story->dtable->fieldList['order']['title'] = $lang->story->order;
- $config->story->dtable->fieldList['order']['fixed'] = 'left';
- $config->story->dtable->fieldList['order']['sortType'] = true;
- $config->story->dtable->fieldList['order']['width'] = '45';
- $config->story->dtable->fieldList['order']['show'] = true;
- if($isEn) $config->story->dtable->fieldList['order']['width'] = '60';
- }
- $config->story->dtable->fieldList['title']['name'] = 'title';
- $config->story->dtable->fieldList['title']['title'] = $lang->story->title;
- $config->story->dtable->fieldList['title']['type'] = 'title';
- $config->story->dtable->fieldList['title']['link'] = array('url' => helper::createLink('{type}', 'view', 'storyID={id}'));
- $config->story->dtable->fieldList['title']['fixed'] = 'left';
- $config->story->dtable->fieldList['title']['sortType'] = true;
- $config->story->dtable->fieldList['title']['minWidth'] = '342';
- $config->story->dtable->fieldList['title']['required'] = true;
- $config->story->dtable->fieldList['title']['nestedToggle'] = true;
- $config->story->dtable->fieldList['title']['show'] = true;
- $config->story->dtable->fieldList['title']['group'] = 1;
- $config->story->dtable->fieldList['title']['data-app'] = $app->tab;
- $config->story->dtable->fieldList['title']['styleMap'] = array('--color-link' => 'color');
- $config->story->dtable->fieldList['pri']['name'] = 'pri';
- $config->story->dtable->fieldList['pri']['title'] = $lang->priAB;
- $config->story->dtable->fieldList['pri']['fixed'] = 'left';
- $config->story->dtable->fieldList['pri']['sortType'] = true;
- $config->story->dtable->fieldList['pri']['type'] = 'pri';
- $config->story->dtable->fieldList['pri']['priList'] = $lang->story->priList;
- $config->story->dtable->fieldList['pri']['show'] = true;
- $config->story->dtable->fieldList['pri']['group'] = 2;
- if($isEn) $config->story->dtable->fieldList['pri']['width'] = '80';
- $config->story->dtable->fieldList['branch']['name'] = 'branch';
- $config->story->dtable->fieldList['branch']['title'] = $lang->story->branch;
- $config->story->dtable->fieldList['branch']['sortType'] = true;
- $config->story->dtable->fieldList['branch']['width'] = '100';
- $config->story->dtable->fieldList['branch']['group'] = 4;
- $config->story->dtable->fieldList['branch']['control'] = 'select';
- $config->story->dtable->fieldList['branch']['dataSource'] = array('module' => 'branch', 'method' => 'getPairs', 'params' => '$productID&active');
- if($config->vision == 'rnd')
- {
- $config->story->dtable->fieldList['plan']['name'] = 'plan';
- $config->story->dtable->fieldList['plan']['title'] = $lang->story->planAB;
- $config->story->dtable->fieldList['plan']['sortType'] = true;
- $config->story->dtable->fieldList['plan']['width'] = '136';
- $config->story->dtable->fieldList['plan']['show'] = true;
- $config->story->dtable->fieldList['plan']['control'] = 'multiple';
- $config->story->dtable->fieldList['plan']['group'] = 4;
- $config->story->dtable->fieldList['plan']['dataSource'] = array('module' => 'productplan', 'method' => 'getPairs', 'params' => '$productID');
- }
- if($config->edition == 'ipd')
- {
- $config->story->dtable->fieldList['roadmap']['name'] = 'roadmap';
- $config->story->dtable->fieldList['roadmap']['title'] = $lang->story->roadmap;
- $config->story->dtable->fieldList['roadmap']['type'] = 'html';
- $config->story->dtable->fieldList['roadmap']['show'] = true;
- $config->story->dtable->fieldList['roadmap']['sortType'] = true;
- $config->story->dtable->fieldList['roadmap']['width'] = '90';
- }
- if($config->vision == 'or')
- {
- $app->loadLang('demand');
- $config->story->dtable->fieldList['duration']['title'] = 'duration';
- $config->story->dtable->fieldList['duration']['width'] = '90';
- $config->story->dtable->fieldList['duration']['type'] = 'status';
- $config->story->dtable->fieldList['duration']['show'] = true;
- $config->story->dtable->fieldList['duration']['sortType'] = true;
- $config->story->dtable->fieldList['duration']['statusMap'] = $lang->demand->durationList;
- $config->story->dtable->fieldList['duration']['group'] = 4;
- $config->story->dtable->fieldList['BSA']['title'] = 'BSA';
- $config->story->dtable->fieldList['BSA']['width'] = '90';
- $config->story->dtable->fieldList['BSA']['type'] = 'status';
- $config->story->dtable->fieldList['BSA']['show'] = true;
- $config->story->dtable->fieldList['BSA']['sortType'] = true;
- $config->story->dtable->fieldList['BSA']['statusMap'] = $lang->demand->bsaList;
- $config->story->dtable->fieldList['BSA']['group'] = 4;
- }
- $config->story->dtable->fieldList['category']['name'] = 'category';
- $config->story->dtable->fieldList['category']['title'] = $lang->story->category;
- $config->story->dtable->fieldList['category']['sortType'] = true;
- $config->story->dtable->fieldList['category']['type'] = 'category';
- $config->story->dtable->fieldList['category']['group'] = 4;
- $config->story->dtable->fieldList['status']['name'] = 'status';
- $config->story->dtable->fieldList['status']['title'] = $lang->statusAB;
- $config->story->dtable->fieldList['status']['sortType'] = true;
- $config->story->dtable->fieldList['status']['type'] = 'status';
- $config->story->dtable->fieldList['status']['statusMap'] = $lang->story->statusList;
- $config->story->dtable->fieldList['status']['show'] = true;
- $config->story->dtable->fieldList['status']['group'] = 4;
- $config->story->dtable->fieldList['openedBy']['name'] = 'openedBy';
- $config->story->dtable->fieldList['openedBy']['title'] = $lang->story->openedByAB;
- $config->story->dtable->fieldList['openedBy']['sortType'] = true;
- $config->story->dtable->fieldList['openedBy']['type'] = 'user';
- $config->story->dtable->fieldList['openedBy']['show'] = true;
- $config->story->dtable->fieldList['openedBy']['group'] = 5;
- $config->story->dtable->fieldList['openedDate']['name'] = 'openedDate';
- $config->story->dtable->fieldList['openedDate']['title'] = $lang->story->openedDate;
- $config->story->dtable->fieldList['openedDate']['sortType'] = true;
- $config->story->dtable->fieldList['openedDate']['type'] = 'date';
- $config->story->dtable->fieldList['openedDate']['group'] = 5;
- $config->story->dtable->fieldList['estimate']['name'] = 'estimate';
- $config->story->dtable->fieldList['estimate']['title'] = $lang->story->estimateAB;
- $config->story->dtable->fieldList['estimate']['sortType'] = true;
- $config->story->dtable->fieldList['estimate']['type'] = 'number';
- $config->story->dtable->fieldList['estimate']['show'] = true;
- $config->story->dtable->fieldList['estimate']['group'] = 5;
- if($isEn) $config->story->dtable->fieldList['estimate']['width'] = '90';
- $config->story->dtable->fieldList['reviewer']['name'] = 'reviewer';
- $config->story->dtable->fieldList['reviewer']['type'] = 'text';
- $config->story->dtable->fieldList['reviewer']['title'] = $lang->story->reviewer;
- $config->story->dtable->fieldList['reviewer']['width'] = '100';
- $config->story->dtable->fieldList['reviewer']['sortType'] = false;
- $config->story->dtable->fieldList['reviewer']['show'] = true;
- $config->story->dtable->fieldList['reviewer']['group'] = 5;
- if($isEn) $config->story->dtable->fieldList['reviewer']['width'] = '120';
- $config->story->dtable->fieldList['reviewedDate']['name'] = 'reviewedDate';
- $config->story->dtable->fieldList['reviewedDate']['title'] = $lang->story->reviewedDate;
- $config->story->dtable->fieldList['reviewedDate']['sortType'] = true;
- $config->story->dtable->fieldList['reviewedDate']['type'] = 'date';
- $config->story->dtable->fieldList['reviewedDate']['group'] = 5;
- $app->loadLang('requirement');
- $config->story->dtable->fieldList['stage']['name'] = 'stage';
- $config->story->dtable->fieldList['stage']['title'] = $lang->story->stageAB;
- $config->story->dtable->fieldList['stage']['sortType'] = true;
- $config->story->dtable->fieldList['stage']['type'] = 'status';
- $config->story->dtable->fieldList['stage']['statusMap'] = $lang->story->stageList + $lang->requirement->stageList;
- $config->story->dtable->fieldList['stage']['show'] = true;
- $config->story->dtable->fieldList['stage']['group'] = 6;
- if($isEn) $config->story->dtable->fieldList['stage']['width'] = '120';
- $config->story->dtable->fieldList['assignedTo']['name'] = 'assignedTo';
- $config->story->dtable->fieldList['assignedTo']['title'] = $lang->story->assignedTo;
- $config->story->dtable->fieldList['assignedTo']['sortType'] = true;
- $config->story->dtable->fieldList['assignedTo']['currentUser'] = $app->user->account;
- $config->story->dtable->fieldList['assignedTo']['assignLink'] = array('module' => 'story', 'method' => 'assignTo', 'params' => 'storyID={id}');
- $config->story->dtable->fieldList['assignedTo']['type'] = 'assign';
- $config->story->dtable->fieldList['assignedTo']['show'] = true;
- $config->story->dtable->fieldList['assignedTo']['group'] = 6;
- if($isEn) $config->story->dtable->fieldList['assignedTo']['width'] = '120';
- $config->story->dtable->fieldList['assignedDate']['name'] = 'assignedDate';
- $config->story->dtable->fieldList['assignedDate']['title'] = $lang->story->assignedDate;
- $config->story->dtable->fieldList['assignedDate']['sortType'] = true;
- $config->story->dtable->fieldList['assignedDate']['type'] = 'date';
- $config->story->dtable->fieldList['assignedDate']['group'] = 6;
- $config->story->dtable->fieldList['product']['name'] = 'product';
- $config->story->dtable->fieldList['product']['title'] = $lang->story->product;
- $config->story->dtable->fieldList['product']['type'] = 'text';
- $config->story->dtable->fieldList['product']['control'] = 'select';
- $config->story->dtable->fieldList['product']['dataSource'] = array('module' => 'product', 'method' => 'getPairs', 'params' => ['mode' => '', 'programID' => 0, 'append' => '', 'shadow' => 'all']);
- $config->story->dtable->fieldList['module']['name'] = 'module';
- $config->story->dtable->fieldList['module']['title'] = $lang->story->module;
- $config->story->dtable->fieldList['module']['type'] = 'text';
- $config->story->dtable->fieldList['module']['control'] = 'select';
- $config->story->dtable->fieldList['module']['dataSource'] = array('module' => 'tree', 'method' => 'getOptionMenu', 'params' => ['rootID' => '$productID', 'type' => 'story', 'startModule' => 0, 'branch' => 'all']);
- $config->story->dtable->fieldList['taskCount']['name'] = 'taskCount';
- $config->story->dtable->fieldList['taskCount']['title'] = 'T';
- $config->story->dtable->fieldList['taskCount']['sortType'] = false;
- $config->story->dtable->fieldList['taskCount']['width'] = '30';
- $config->story->dtable->fieldList['taskCount']['type'] = 'text';
- $config->story->dtable->fieldList['taskCount']['link'] = array('module' => 'story', 'method' => 'tasks', 'params' => 'storyID={id}');
- $config->story->dtable->fieldList['taskCount']['data-toggle'] = 'modal';
- $config->story->dtable->fieldList['taskCount']['show'] = true;
- $config->story->dtable->fieldList['taskCount']['group'] = 7;
- $config->story->dtable->fieldList['bugCount']['name'] = 'bugCount';
- $config->story->dtable->fieldList['bugCount']['title'] = 'B';
- $config->story->dtable->fieldList['bugCount']['sortType'] = false;
- $config->story->dtable->fieldList['bugCount']['width'] = '30';
- $config->story->dtable->fieldList['bugCount']['type'] = 'text';
- $config->story->dtable->fieldList['bugCount']['link'] = array('module' => 'story', 'method' => 'bugs', 'params' => 'storyID={id}');
- $config->story->dtable->fieldList['bugCount']['data-toggle'] = 'modal';
- $config->story->dtable->fieldList['bugCount']['group'] = 7;
- $config->story->dtable->fieldList['caseCount']['name'] = 'caseCount';
- $config->story->dtable->fieldList['caseCount']['title'] = 'C';
- $config->story->dtable->fieldList['caseCount']['sortType'] = false;
- $config->story->dtable->fieldList['caseCount']['width'] = '30';
- $config->story->dtable->fieldList['caseCount']['type'] = 'text';
- $config->story->dtable->fieldList['caseCount']['link'] = array('module' => 'story', 'method' => 'cases', 'params' => 'storyID={id}');
- $config->story->dtable->fieldList['caseCount']['data-toggle'] = 'modal';
- $config->story->dtable->fieldList['caseCount']['group'] = 7;
- if($config->edition != 'open')
- {
- $config->story->dtable->fieldList['relatedObject']['name'] = 'relatedObject';
- $config->story->dtable->fieldList['relatedObject']['title'] = $lang->custom->relateObject;
- $config->story->dtable->fieldList['relatedObject']['sortType'] = false;
- $config->story->dtable->fieldList['relatedObject']['width'] = '70';
- $config->story->dtable->fieldList['relatedObject']['type'] = 'text';
- $config->story->dtable->fieldList['relatedObject']['link'] = common::hasPriv('custom', 'showRelationGraph') ? "RAWJS<function(info){ if(info.row.data.relatedObject == 0) return 0; else return '" . helper::createLink('custom', 'showRelationGraph', 'objectID={id}&objectType={type}') . "'; }>RAWJS" : null;
- $config->story->dtable->fieldList['relatedObject']['data-toggle'] = 'modal';
- $config->story->dtable->fieldList['relatedObject']['data-size'] = 'lg';
- $config->story->dtable->fieldList['relatedObject']['show'] = true;
- $config->story->dtable->fieldList['relatedObject']['group'] = 7;
- $config->story->dtable->fieldList['relatedObject']['flex'] = false;
- $config->story->dtable->fieldList['relatedObject']['align'] = 'center';
- if($isEn) $config->story->dtable->fieldList['relatedObject']['width'] = '120';
- }
- $config->story->dtable->fieldList['childItem']['name'] = 'childItem';
- $config->story->dtable->fieldList['childItem']['title'] = $lang->story->childItem;
- $config->story->dtable->fieldList['childItem']['sortType'] = false;
- $config->story->dtable->fieldList['childItem']['type'] = 'text';
- $config->story->dtable->fieldList['childItem']['group'] = 6;
- $config->story->dtable->fieldList['closedBy']['name'] = 'closedBy';
- $config->story->dtable->fieldList['closedBy']['title'] = $lang->story->closedBy;
- $config->story->dtable->fieldList['closedBy']['sortType'] = true;
- $config->story->dtable->fieldList['closedBy']['type'] = 'user';
- $config->story->dtable->fieldList['closedBy']['group'] = 8;
- $config->story->dtable->fieldList['closedDate']['name'] = 'closedDate';
- $config->story->dtable->fieldList['closedDate']['title'] = $lang->story->closedDate;
- $config->story->dtable->fieldList['closedDate']['sortType'] = true;
- $config->story->dtable->fieldList['closedDate']['type'] = 'date';
- $config->story->dtable->fieldList['closedDate']['group'] = 8;
- $config->story->dtable->fieldList['closedReason']['name'] = 'closedReason';
- $config->story->dtable->fieldList['closedReason']['title'] = $lang->story->closedReason;
- $config->story->dtable->fieldList['closedReason']['sortType'] = true;
- $config->story->dtable->fieldList['closedReason']['width'] = '90';
- $config->story->dtable->fieldList['closedReason']['group'] = 8;
- $config->story->dtable->fieldList['lastEditedBy']['name'] = 'lastEditedBy';
- $config->story->dtable->fieldList['lastEditedBy']['title'] = $lang->story->lastEditedBy;
- $config->story->dtable->fieldList['lastEditedBy']['sortType'] = true;
- $config->story->dtable->fieldList['lastEditedBy']['type'] = 'user';
- $config->story->dtable->fieldList['lastEditedBy']['group'] = 9;
- $config->story->dtable->fieldList['lastEditedDate']['name'] = 'lastEditedDate';
- $config->story->dtable->fieldList['lastEditedDate']['title'] = $lang->story->lastEditedDate;
- $config->story->dtable->fieldList['lastEditedDate']['sortType'] = true;
- $config->story->dtable->fieldList['lastEditedDate']['type'] = 'date';
- $config->story->dtable->fieldList['lastEditedDate']['width'] = 120;
- $config->story->dtable->fieldList['lastEditedDate']['group'] = 9;
- $config->story->dtable->fieldList['keywords']['name'] = 'keywords';
- $config->story->dtable->fieldList['keywords']['title'] = $lang->story->keywords;
- $config->story->dtable->fieldList['keywords']['sortType'] = true;
- $config->story->dtable->fieldList['keywords']['width'] = '100';
- $config->story->dtable->fieldList['keywords']['group'] = 10;
- $config->story->dtable->fieldList['source']['name'] = 'source';
- $config->story->dtable->fieldList['source']['title'] = $lang->story->source;
- $config->story->dtable->fieldList['source']['sortType'] = true;
- $config->story->dtable->fieldList['source']['width'] = '90';
- $config->story->dtable->fieldList['source']['group'] = 10;
- $config->story->dtable->fieldList['sourceNote']['name'] = 'sourceNote';
- $config->story->dtable->fieldList['sourceNote']['title'] = $lang->story->sourceNote;
- $config->story->dtable->fieldList['sourceNote']['width'] = '90';
- $config->story->dtable->fieldList['sourceNote']['sortType'] = true;
- $config->story->dtable->fieldList['sourceNote']['group'] = 10;
- $config->story->dtable->fieldList['feedbackBy']['name'] = 'feedbackBy';
- $config->story->dtable->fieldList['feedbackBy']['title'] = $lang->story->feedbackBy;
- $config->story->dtable->fieldList['feedbackBy']['sortType'] = true;
- $config->story->dtable->fieldList['feedbackBy']['width'] = '90';
- $config->story->dtable->fieldList['feedbackBy']['group'] = 10;
- $config->story->dtable->fieldList['activatedDate']['name'] = 'activatedDate';
- $config->story->dtable->fieldList['activatedDate']['title'] = $lang->story->activatedDate;
- $config->story->dtable->fieldList['activatedDate']['sortType'] = true;
- $config->story->dtable->fieldList['activatedDate']['type'] = 'date';
- $config->story->dtable->fieldList['activatedDate']['group'] = 11;
- $config->story->dtable->fieldList['notifyEmail']['name'] = 'notifyEmail';
- $config->story->dtable->fieldList['notifyEmail']['title'] = $lang->story->notifyEmail;
- $config->story->dtable->fieldList['notifyEmail']['width'] = '100';
- $config->story->dtable->fieldList['notifyEmail']['sortType'] = true;
- $config->story->dtable->fieldList['notifyEmail']['group'] = 11;
- $config->story->dtable->fieldList['mailto']['name'] = 'mailto';
- $config->story->dtable->fieldList['mailto']['title'] = $lang->story->mailto;
- $config->story->dtable->fieldList['mailto']['width'] = '100';
- $config->story->dtable->fieldList['mailto']['sortType'] = true;
- $config->story->dtable->fieldList['mailto']['group'] = 11;
- $config->story->dtable->fieldList['version']['name'] = 'version';
- $config->story->dtable->fieldList['version']['title'] = $lang->story->version;
- $config->story->dtable->fieldList['version']['type'] = 'number';
- $config->story->dtable->fieldList['version']['sortType'] = true;
- $config->story->dtable->fieldList['version']['group'] = 11;
- $config->story->dtable->fieldList['actions']['name'] = 'actions';
- $config->story->dtable->fieldList['actions']['title'] = $lang->actions;
- $config->story->dtable->fieldList['actions']['fixed'] = 'right';
- $config->story->dtable->fieldList['actions']['required'] = true;
- $config->story->dtable->fieldList['actions']['width'] = 'auto';
- $config->story->dtable->fieldList['actions']['minWidth'] = $app->tab != 'product' ? 240 : 200;
- $config->story->dtable->fieldList['actions']['type'] = 'actions';
- $config->story->dtable->fieldList['actions']['actionsMap']['assigned']['icon'] = 'hand-right';
- $config->story->dtable->fieldList['actions']['actionsMap']['assigned']['hint'] = $lang->story->operateList['assigned'];
- $config->story->dtable->fieldList['actions']['actionsMap']['close']['icon'] = 'off';
- $config->story->dtable->fieldList['actions']['actionsMap']['close']['hint'] = $lang->story->operateList['closed'];
- $config->story->dtable->fieldList['actions']['actionsMap']['activate']['icon'] = 'active';
- $config->story->dtable->fieldList['actions']['actionsMap']['activate']['hint'] = $lang->story->operateList['activated'];
- $config->story->dtable->fieldList['actions']['actionsMap']['change']['icon'] = 'change';
- $config->story->dtable->fieldList['actions']['actionsMap']['change']['hint'] = $lang->story->operateList['changed'];
- $config->story->dtable->fieldList['actions']['actionsMap']['change']['data-app'] = $app->tab;
- $config->story->dtable->fieldList['actions']['actionsMap']['review']['icon'] = 'search';
- $config->story->dtable->fieldList['actions']['actionsMap']['review']['hint'] = $lang->story->operateList['reviewed'];
- $config->story->dtable->fieldList['actions']['actionsMap']['review']['data-app'] = $app->tab;
- $config->story->dtable->fieldList['actions']['actionsMap']['edit']['icon'] = 'edit';
- $config->story->dtable->fieldList['actions']['actionsMap']['edit']['hint'] = $lang->story->operateList['edited'];
- $config->story->dtable->fieldList['actions']['actionsMap']['submitreview']['icon'] = 'sub-review';
- $config->story->dtable->fieldList['actions']['actionsMap']['submitreview']['hint'] = $lang->story->operateList['submitreview'];
- $config->story->dtable->fieldList['actions']['actionsMap']['recalledchange']['icon'] = 'undo';
- $config->story->dtable->fieldList['actions']['actionsMap']['recalledchange']['hint'] = $lang->story->operateList['recalledchange'];
- $config->story->dtable->fieldList['actions']['actionsMap']['recall']['icon'] = 'undo';
- $config->story->dtable->fieldList['actions']['actionsMap']['recall']['hint'] = $lang->story->operateList['recalled'];
- $app->loadLang('testcase');
- $config->story->dtable->fieldList['actions']['actionsMap']['testcase']['icon'] = 'testcase';
- $config->story->dtable->fieldList['actions']['actionsMap']['testcase']['hint'] = $lang->testcase->create;
- $config->story->dtable->fieldList['actions']['actionsMap']['testcase']['data-app'] = $app->tab;
- $config->story->dtable->fieldList['actions']['actionsMap']['subdivide']['icon'] = 'split';
- $config->story->dtable->fieldList['actions']['actionsMap']['subdivide']['hint'] = $lang->story->subdivide;
- $config->story->dtable->fieldList['actions']['actionsMap']['subdivide']['data-app'] = $app->tab;
- $config->story->dtable->fieldList['actions']['actionsMap']['processStoryChange']['icon'] = 'ok';
- $config->story->dtable->fieldList['actions']['actionsMap']['processStoryChange']['hint'] = $lang->story->processStoryChange;
- $config->story->dtable->fieldList['actions']['actionsMap']['processStoryChange']['data-app'] = $app->tab;
- $config->story->dtable->fieldList['actions']['actionsMap']['batchCreate']['icon'] = 'split';
- $config->story->dtable->fieldList['actions']['actionsMap']['batchCreate']['hint'] = $lang->story->subdivide;
- $config->story->dtable->fieldList['actions']['actionsMap']['batchCreate']['data-app'] = $app->tab;
- $app->loadLang('task');
- $config->story->dtable->fieldList['actions']['actionsMap']['createTask']['icon'] = 'plus';
- $config->story->dtable->fieldList['actions']['actionsMap']['createTask']['hint'] = $lang->task->create;
- $config->story->dtable->fieldList['actions']['actionsMap']['createTask']['data-app'] = $app->tab;
- $config->story->dtable->fieldList['actions']['actionsMap']['batchCreateTask']['icon'] = 'pluses';
- $config->story->dtable->fieldList['actions']['actionsMap']['batchCreateTask']['hint'] = $lang->task->batchCreate;
- $config->story->dtable->fieldList['actions']['actionsMap']['batchCreateTask']['data-app'] = $app->tab;
- $app->loadLang('execution');
- $config->story->dtable->fieldList['actions']['actionsMap']['storyEstimate']['icon'] = 'estimate';
- $config->story->dtable->fieldList['actions']['actionsMap']['storyEstimate']['hint'] = $lang->execution->storyEstimate;
- $config->story->dtable->fieldList['actions']['actionsMap']['storyEstimate']['data-size'] = 'sm';
- $config->story->dtable->fieldList['actions']['actionsMap']['storyEstimate']['data-toggle'] = 'modal';
- $config->story->dtable->fieldList['actions']['actionsMap']['storyEstimate']['data-id'] = 'storyEstimateModal';
- $config->story->dtable->fieldList['actions']['actionsMap']['unlink']['icon'] = 'unlink';
- $config->story->dtable->fieldList['actions']['actionsMap']['unlink']['hint'] = $lang->story->unlink;
- $config->story->taskTable = new stdclass();
- $config->story->taskTable->fieldList['id']['name'] = 'id';
- $config->story->taskTable->fieldList['id']['title'] = $lang->idAB;
- $config->story->taskTable->fieldList['id']['fixed'] = 'left';
- $config->story->taskTable->fieldList['id']['type'] = 'checkID';
- $config->story->taskTable->fieldList['id']['sortType'] = false;
- $config->story->taskTable->fieldList['id']['group'] = 1;
- $config->story->taskTable->fieldList['name']['name'] = 'name';
- $config->story->taskTable->fieldList['name']['title'] = $lang->task->name;
- $config->story->taskTable->fieldList['name']['type'] = 'text';
- $config->story->taskTable->fieldList['name']['sortType'] = false;
- $config->story->taskTable->fieldList['name']['group'] = 2;
- $config->story->taskTable->fieldList['pri']['name'] = 'pri';
- $config->story->taskTable->fieldList['pri']['title'] = $lang->priAB;
- $config->story->taskTable->fieldList['pri']['type'] = 'pri';
- $config->story->taskTable->fieldList['pri']['group'] = 3;
- $config->story->taskTable->fieldList['pri']['sortType'] = false;
- $config->story->taskTable->fieldList['status']['name'] = 'status';
- $config->story->taskTable->fieldList['status']['title'] = $lang->statusAB;
- $config->story->taskTable->fieldList['status']['type'] = 'status';
- $config->story->taskTable->fieldList['status']['statusMap'] = $lang->task->statusList;
- $config->story->taskTable->fieldList['status']['group'] = 3;
- $config->story->taskTable->fieldList['status']['sortType'] = false;
- $config->story->taskTable->fieldList['assignedTo']['name'] = 'assignedTo';
- $config->story->taskTable->fieldList['assignedTo']['title'] = $lang->task->assignedToAB;
- $config->story->taskTable->fieldList['assignedTo']['type'] = 'user';
- $config->story->taskTable->fieldList['assignedTo']['sortType'] = false;
- $config->story->taskTable->fieldList['assignedTo']['group'] = 4;
- $config->story->taskTable->fieldList['estimate']['name'] = 'estimate';
- $config->story->taskTable->fieldList['estimate']['title'] = $lang->task->estimateAB;
- $config->story->taskTable->fieldList['estimate']['type'] = 'number';
- $config->story->taskTable->fieldList['estimate']['sortType'] = false;
- $config->story->taskTable->fieldList['estimate']['group'] = 5;
- $config->story->taskTable->fieldList['consumed']['name'] = 'consumed';
- $config->story->taskTable->fieldList['consumed']['title'] = $lang->task->consumedAB;
- $config->story->taskTable->fieldList['consumed']['type'] = 'number';
- $config->story->taskTable->fieldList['consumed']['sortType'] = false;
- $config->story->taskTable->fieldList['consumed']['group'] = 5;
- $config->story->taskTable->fieldList['left']['name'] = 'left';
- $config->story->taskTable->fieldList['left']['title'] = $lang->task->leftAB;
- $config->story->taskTable->fieldList['left']['type'] = 'number';
- $config->story->taskTable->fieldList['left']['sortType'] = false;
- $config->story->taskTable->fieldList['left']['group'] = 5;
- $config->story->taskTable->fieldList['progress']['name'] = 'progress';
- $config->story->taskTable->fieldList['progress']['title'] = $lang->task->progress;
- $config->story->taskTable->fieldList['progress']['type'] = 'progress';
- $config->story->taskTable->fieldList['progress']['sortType'] = false;
- $config->story->taskTable->fieldList['progress']['group'] = 5;
- $app->loadLang('bug');
- $config->story->bugTable = new stdclass();
- $config->story->bugTable->fieldList['id']['name'] = 'id';
- $config->story->bugTable->fieldList['id']['title'] = $lang->idAB;
- $config->story->bugTable->fieldList['id']['fixed'] = 'left';
- $config->story->bugTable->fieldList['id']['type'] = 'checkID';
- $config->story->bugTable->fieldList['id']['sortType'] = true;
- $config->story->bugTable->fieldList['id']['group'] = 1;
- $config->story->bugTable->fieldList['title']['name'] = 'title';
- $config->story->bugTable->fieldList['title']['title'] = $lang->bug->title;
- $config->story->bugTable->fieldList['title']['type'] = 'text';
- $config->story->bugTable->fieldList['title']['sortType'] = true;
- $config->story->bugTable->fieldList['title']['group'] = 2;
- $config->story->bugTable->fieldList['pri']['name'] = 'pri';
- $config->story->bugTable->fieldList['pri']['title'] = $lang->priAB;
- $config->story->bugTable->fieldList['pri']['type'] = 'pri';
- $config->story->bugTable->fieldList['pri']['sortType'] = true;
- $config->story->bugTable->fieldList['pri']['group'] = 3;
- $config->story->bugTable->fieldList['type']['name'] = 'type';
- $config->story->bugTable->fieldList['type']['title'] = $lang->bug->type;
- $config->story->bugTable->fieldList['type']['type'] = 'category';
- $config->story->bugTable->fieldList['type']['map'] = $lang->bug->typeList;
- $config->story->bugTable->fieldList['type']['sortType'] = true;
- $config->story->bugTable->fieldList['type']['group'] = 3;
- $config->story->bugTable->fieldList['status']['name'] = 'status';
- $config->story->bugTable->fieldList['status']['title'] = $lang->bug->status;
- $config->story->bugTable->fieldList['status']['type'] = 'status';
- $config->story->bugTable->fieldList['status']['statusMap'] = $lang->bug->statusList;
- $config->story->bugTable->fieldList['status']['sortType'] = true;
- $config->story->bugTable->fieldList['status']['group'] = 3;
- $config->story->bugTable->fieldList['assignedTo']['name'] = 'assignedTo';
- $config->story->bugTable->fieldList['assignedTo']['title'] = $lang->bug->assignedTo;
- $config->story->bugTable->fieldList['assignedTo']['type'] = 'user';
- $config->story->bugTable->fieldList['assignedTo']['sortType'] = true;
- $config->story->bugTable->fieldList['assignedTo']['group'] = 4;
- $config->story->bugTable->fieldList['resolvedBy']['name'] = 'resolvedBy';
- $config->story->bugTable->fieldList['resolvedBy']['title'] = $lang->bug->resolvedBy;
- $config->story->bugTable->fieldList['resolvedBy']['type'] = 'user';
- $config->story->bugTable->fieldList['resolvedBy']['sortType'] = true;
- $config->story->bugTable->fieldList['resolvedBy']['group'] = 5;
- $config->story->bugTable->fieldList['resolution']['name'] = 'resolution';
- $config->story->bugTable->fieldList['resolution']['title'] = $lang->bug->resolution;
- $config->story->bugTable->fieldList['resolution']['type'] = 'category';
- $config->story->bugTable->fieldList['resolution']['map'] = $lang->bug->resolutionList;
- $config->story->bugTable->fieldList['resolution']['sortType'] = true;
- $config->story->bugTable->fieldList['resolution']['group'] = 5;
- $app->loadLang('testcase');
- $config->story->caseTable = new stdclass();
- $config->story->caseTable->fieldList['id']['name'] = 'id';
- $config->story->caseTable->fieldList['id']['title'] = $lang->idAB;
- $config->story->caseTable->fieldList['id']['type'] = 'checkID';
- $config->story->caseTable->fieldList['id']['sortType'] = true;
- $config->story->caseTable->fieldList['id']['fixed'] = 'left';
- $config->story->caseTable->fieldList['id']['group'] = 1;
- $config->story->caseTable->fieldList['title']['name'] = 'title';
- $config->story->caseTable->fieldList['title']['title'] = $lang->testcase->title;
- $config->story->caseTable->fieldList['title']['type'] = 'text';
- $config->story->caseTable->fieldList['title']['sortType'] = true;
- $config->story->caseTable->fieldList['title']['group'] = 2;
- $config->story->caseTable->fieldList['pri']['name'] = 'pri';
- $config->story->caseTable->fieldList['pri']['title'] = $lang->priAB;
- $config->story->caseTable->fieldList['pri']['type'] = 'pri';
- $config->story->caseTable->fieldList['pri']['sortType'] = true;
- $config->story->caseTable->fieldList['pri']['group'] = 3;
- $config->story->caseTable->fieldList['type']['name'] = 'type';
- $config->story->caseTable->fieldList['type']['title'] = $lang->testcase->type;
- $config->story->caseTable->fieldList['type']['type'] = 'category';
- $config->story->caseTable->fieldList['type']['map'] = $lang->testcase->typeList;
- $config->story->caseTable->fieldList['type']['sortType'] = true;
- $config->story->caseTable->fieldList['type']['group'] = 3;
- $config->story->caseTable->fieldList['status']['name'] = 'status';
- $config->story->caseTable->fieldList['status']['title'] = $lang->statusAB;
- $config->story->caseTable->fieldList['status']['type'] = 'status';
- $config->story->caseTable->fieldList['status']['statusMap'] = $lang->testcase->statusList;
- $config->story->caseTable->fieldList['status']['sortType'] = true;
- $config->story->caseTable->fieldList['status']['group'] = 3;
- $config->story->caseTable->fieldList['lastRunner']['name'] = 'lastRunner';
- $config->story->caseTable->fieldList['lastRunner']['title'] = $lang->testcase->lastRunner;
- $config->story->caseTable->fieldList['lastRunner']['type'] = 'user';
- $config->story->caseTable->fieldList['lastRunner']['sortType'] = true;
- $config->story->caseTable->fieldList['lastRunner']['group'] = 4;
- $config->story->caseTable->fieldList['lastRunDate']['name'] = 'lastRunDate';
- $config->story->caseTable->fieldList['lastRunDate']['title'] = $lang->testcase->lastRunDate;
- $config->story->caseTable->fieldList['lastRunDate']['type'] = 'date';
- $config->story->caseTable->fieldList['lastRunDate']['sortType'] = true;
- $config->story->caseTable->fieldList['lastRunDate']['group'] = 4;
- $config->story->caseTable->fieldList['lastRunResult']['name'] = 'lastRunResult';
- $config->story->caseTable->fieldList['lastRunResult']['title'] = $lang->testcase->lastRunResult;
- $config->story->caseTable->fieldList['lastRunResult']['type'] = 'category';
- $config->story->caseTable->fieldList['lastRunResult']['map'] = $lang->testcase->resultList;
- $config->story->caseTable->fieldList['lastRunResult']['sortType'] = true;
- $config->story->caseTable->fieldList['lastRunResult']['group'] = 5;
|