* Update the form settings on the batch stories creation page to reflect the new design.
This commit is contained in:
@@ -35,23 +35,27 @@ $config->story->form->create['version'] = array('type' => 'int', 'contro
|
||||
$config->story->form->create['openedBy'] = array('type' => 'string', 'control' => '', 'required' => false, 'default' => $app->user->account);
|
||||
$config->story->form->create['openedDate'] = array('type' => 'string', 'control' => '', 'required' => false, 'default' => helper::now());
|
||||
|
||||
$app->loadLang('kanban');
|
||||
$config->story->form->batchCreate = common::formConfig('story', 'batchCreate');
|
||||
$config->story->form->batchCreate['branch'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['module'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['plan'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['region'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['lane'] = array('type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['title'] = array('type' => 'string', 'control' => 'text', 'required' => true, 'filter' => 'trim', 'base' => true);
|
||||
$config->story->form->batchCreate['color'] = array('type' => 'string', 'control' => 'color', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['spec'] = array('type' => 'string', 'control' => 'textarea', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['source'] = array('type' => 'string', 'control' => 'select', 'required' => false, 'default' => '', 'options' => $lang->story->sourceList);
|
||||
$config->story->form->batchCreate['sourceNote'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '', 'filter' => 'trim');
|
||||
$config->story->form->batchCreate['verify'] = array('type' => 'string', 'control' => 'textarea', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['category'] = array('type' => 'string', 'control' => 'select', 'required' => false, 'default' => 'feature', 'options' => $lang->story->categoryList);
|
||||
$config->story->form->batchCreate['pri'] = array('type' => 'string', 'control' => 'select', 'required' => false, 'default' => 3, 'options' => $lang->story->priList);
|
||||
$config->story->form->batchCreate['estimate'] = array('type' => 'float', 'control' => 'text', 'required' => false, 'default' => 0);
|
||||
$config->story->form->batchCreate['reviewer'] = array('type' => 'array', 'control' => 'multi-select', 'required' => false, 'default' => '', 'options' => 'users');
|
||||
$config->story->form->batchCreate['keywords'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['branch'] = array('label' => $lang->story->branch, 'ditto' => true, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['module'] = array('label' => $lang->story->module, 'ditto' => true, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['plan'] = array('label' => $lang->story->plan, 'ditto' => true, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['assignedTo'] = array('label' => $lang->story->assignedTo, 'ditto' => false, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['region'] = array('label' => $lang->kanbancard->region,'ditto' => false, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['lane'] = array('label' => $lang->kanbancard->lane, 'ditto' => false, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
$config->story->form->batchCreate['title'] = array('label' => $lang->story->title, 'ditto' => false, 'type' => 'string', 'control' => 'text', 'required' => true, 'default' => '', 'filter' => 'trim', 'base' => true);
|
||||
$config->story->form->batchCreate['spec'] = array('label' => $lang->story->spec, 'ditto' => false, 'type' => 'string', 'control' => 'textarea', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['source'] = array('label' => $lang->story->source, 'ditto' => true, 'type' => 'string', 'control' => 'select', 'required' => false, 'default' => '', 'options' => $lang->story->sourceList);
|
||||
$config->story->form->batchCreate['sourceNote'] = array('label' => $lang->story->sourceNote, 'ditto' => false, 'type' => 'string', 'control' => 'text', 'required' => false, 'default' => '', 'filter' => 'trim');
|
||||
$config->story->form->batchCreate['verify'] = array('label' => $lang->story->verify, 'ditto' => false, 'type' => 'string', 'control' => 'textarea', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['category'] = array('label' => $lang->story->category, 'ditto' => true, 'type' => 'string', 'control' => 'select', 'required' => false, 'default' => 'feature', 'options' => $lang->story->categoryList);
|
||||
$config->story->form->batchCreate['pri'] = array('label' => $lang->story->pri, 'ditto' => false, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => 3, 'options' => $lang->story->priList);
|
||||
$config->story->form->batchCreate['estimate'] = array('label' => $lang->story->estimate, 'ditto' => false, 'type' => 'float', 'control' => 'text', 'required' => false, 'default' => 0);
|
||||
$config->story->form->batchCreate['reviewer'] = array('label' => $lang->story->reviewedBy, 'ditto' => true, 'type' => 'array', 'control' => 'multi-select', 'required' => false, 'default' => '', 'options' => 'users');
|
||||
$config->story->form->batchCreate['URS'] = array('label' => $lang->story->URS, 'ditto' => false, 'type' => 'array', 'control' => 'multi-select', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['parent'] = array('label' => $lang->story->parent, 'ditto' => false, 'type' => 'int', 'control' => 'select', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['keywords'] = array('label' => $lang->story->keywords, 'ditto' => false, 'type' => 'string', 'control' => 'text', 'required' => false, 'default' => '');
|
||||
$config->story->form->batchCreate['mailto'] = array('label' => $lang->story->mailto, 'ditto' => false, 'type' => 'array', 'control' => 'multi-select', 'required' => false, 'default' => '', 'options' => 'users');
|
||||
|
||||
$config->story->form->batchEdit = array();
|
||||
$config->story->form->batchEdit['branch'] = array('type' => 'int', 'width' => '200px', 'control' => 'select', 'required' => false, 'default' => 0, 'options' => array());
|
||||
|
||||
Reference in New Issue
Block a user