diff --git a/module/bug/view/x.create.html.php b/module/bug/view/x.create.html.php index 4f79bca529..9cbbb325ab 100644 --- a/module/bug/view/x.create.html.php +++ b/module/bug/view/x.create.html.php @@ -201,7 +201,6 @@ body{padding-bottom:0px} - diff --git a/module/story/view/x.create.html.php b/module/story/view/x.create.html.php index 41954a58d5..b0dbf07706 100644 --- a/module/story/view/x.create.html.php +++ b/module/story/view/x.create.html.php @@ -159,7 +159,6 @@ body{padding-bottom: 0px} - diff --git a/module/task/css/create.css b/module/task/css/create.css index 538c76db3e..d9e30cfcb3 100644 --- a/module/task/css/create.css +++ b/module/task/css/create.css @@ -6,5 +6,3 @@ .pri-selector > .btn {padding: 5px 8px!important; width: 100%;} .pri-selector > .dropdown-menu {padding: 10px;} - -.title-group .has-icon-right{min-width:700px} diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php index 4a8283f023..8814db76a2 100644 --- a/module/task/view/create.html.php +++ b/module/task/view/create.html.php @@ -14,6 +14,7 @@ global->flow == 'onlyTask' || !empty($task->id));?> +
diff --git a/module/task/view/x.create.html.php b/module/task/view/x.create.html.php new file mode 100644 index 0000000000..9b413e1d96 --- /dev/null +++ b/module/task/view/x.create.html.php @@ -0,0 +1,187 @@ + + * @package task + * @version $Id: create.html.php 5090 2013-07-10 05:49:24Z zhujinyonging@gmail.com $ + * @link http://www.zentao.net + */ +?> + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + global->flow == 'onlyTask' ? "class='hidden'" : '';?>> + + + + + + +
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,$project->id)'");?>
task->assignedTo;?> +
+ assignedTo, "class='form-control chosen'");?> + + +
+
+
+ +
+ +
task->story;?> + + task->noticeLinkStory, html::a($this->createLink('project', 'linkStory', "projectID=$project->id"), $lang->project->linkStory, '_blank', 'class="text-primary"'), html::a("javascript:loadStories($project->id)", $lang->refresh, '', 'class="text-primary"'));?> + +
+ story, "class='form-control chosen' onchange='setStoryRelated();'");?> + preview;?> +
+ +
task->name;?> +
+
+
+ + + +
+ name, "class='form-control' autocomplete='off' required");?> + global->flow != 'onlyTask'):?> + 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]); + $priList[0] = ''; + } + ?> + + pri, "class='form-control'");?> + +
+ + +
+ +
+
+ task->estimateAB;?> +
task->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");?> + fetch('my', 'buildContactLists');?> +
+
task->afterSubmit;?>task->afterChoices, $config->global->flow == 'onlyTask' || !empty($task->id) ? 'toTaskList' : 'continueAdding');?>
+ +
+ + +
+