+
+
+

task->create;?>

+
+ createLink('custom', 'ajaxSaveCustomFields', 'module=task§ion=custom&key=createFields')?> + app->getModuleRoot() . '/common/view/customfield.html.php';?> +
+
+ task->create->requiredFields) as $field) + { + if($field and strpos($showFields, $field) === false) $showFields .= ',' . $field; + } + ?> +
+ + type != 'kanban' or $this->config->vision == 'lite'):?> + + + + + + + + + + + + + + + + + + + + + + + + + + printExtendFields('', 'table', 'columns=3');?> + lifetime != 'ops'):?> + + + + + + type != 'ops'):?> + + + + + + + + + + 1 or count($lanes) > 1 or empty($extra)):?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
task->execution;?>id, "class='form-control chosen' onchange='loadAll(this.value)' required");?>
task->type;?>task->typeList, $task->type, "class='form-control chosen' onchange='setOwners(this.value)' required");?> + +
task->module;?>module, "class='form-control chosen' onchange='setStories(this.value, $execution->id)'");?> +
+ > +
+
task->assignedTo;?> +
+ assignedTo, "class='form-control chosen'");?> + + +
+
+
+ +
+ +
task->status;?>
task->story;?> + task->noticeLinkStory, html::a($this->createLink('execution', 'linkStory', "executionID=$execution->id"), $lang->execution->linkStory, '_blank', 'class="text-primary"'), html::a("javascript:loadStories($execution->id)", $lang->refresh, '', 'class="text-primary"'));?> +
+ story => empty($stories) ? '': $stories[$task->story]), $task->story, "class='form-control chosen' onchange='setStoryRelated();'");?> + preview;?> +
+
task->name;?> +
+
+
+ + + +
+ name, "class='form-control' required");?> + task->copyStoryTitle;?> + +
+ + task->pri;?> + task->priList as $priKey => $priValue) + { + if(!empty($priKey) and (string)$priKey != (string)$priValue) + { + $hasCustomPri = true; + break; + } + } + $priList = $lang->task->priList; + if(end($priList)) unset($priList[0]); + if(!isset($priList[$task->pri])) + { + reset($priList); + $task->pri = key($priList); + } + ?> + + pri, "class='form-control'");?> + +
+ + +
+ + + +
+
+ task->estimateAB;?> + +
+
+ +
+
task->region;?>
task->lane;?>
task->desc;?> + fetch('user', 'ajaxPrintTemplates', 'type=task&link=desc');?> + desc), "rows='10' class='form-control'");?> +
files;?>fetch('file', 'buildform');?>
task->datePlan;?> +
+ + estStarted, "class='form-control form-date' placeholder='{$lang->task->estStarted}'");?> + + + ~ + + + deadline, "class='form-control form-date' placeholder='{$lang->task->deadline}'");?> + +
+
story->mailto;?> +
+ acl == 'private' ? $members : $users, str_replace(' ', '', $task->mailto), "class='form-control chosen' data-placeholder='{$lang->chooseUsersToMail}' multiple");?> + acl != 'private') echo $this->fetch('my', 'buildContactLists');?> +
+
task->afterSubmit;?>task->afterChoices, !empty($task->id) ? 'toTaskList' : 'continueAdding');?>
+ + goback, '', 'class="btn btn-wide"') : html::backButton();?> +
+ + +
+
+