diff --git a/module/story/css/create.css b/module/story/css/create.css index 099514a464..73c283b6c5 100644 --- a/module/story/css/create.css +++ b/module/story/css/create.css @@ -2,5 +2,5 @@ select {border:1px solid #ccc} #module_chosen.chosen-container .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important} -.row .col-sm-10{width:89%} -.row .col-sm-2{padding-left:0px; width:11%} +.row .col-sm-8{width:76%} +.row .col-sm-2{padding-left:0px; padding-right:0px; width:12%} diff --git a/module/story/lang/en.php b/module/story/lang/en.php index bc5d0c8251..ce5bde0938 100644 --- a/module/story/lang/en.php +++ b/module/story/lang/en.php @@ -275,7 +275,7 @@ $lang->story->report->storysPerEstimate->graph->xAxisName = 'Estimate'; $lang->story->report->storysPerChange->graph->xAxisName = 'Change'; $lang->story->placeholder = new stdclass(); -$lang->story->placeholder->estimate = 'Estimate the story point.'; +$lang->story->placeholder->estimate = $lang->story->hour; $lang->story->chosen = new stdClass(); $lang->story->chosen->reviewedBy = 'Choose users who review...'; diff --git a/module/story/lang/zh-cn.php b/module/story/lang/zh-cn.php index 9375df1d79..70ff48f550 100644 --- a/module/story/lang/zh-cn.php +++ b/module/story/lang/zh-cn.php @@ -275,7 +275,7 @@ $lang->story->report->storysPerEstimate->graph->xAxisName = '预计时间'; $lang->story->report->storysPerChange->graph->xAxisName = '变更次数'; $lang->story->placeholder = new stdclass(); -$lang->story->placeholder->estimate = "完成该需求的工作量"; +$lang->story->placeholder->estimate = $lang->story->hour; $lang->story->chosen = new stdClass(); $lang->story->chosen->reviewedBy = '选择评审人...'; diff --git a/module/story/view/create.html.php b/module/story/view/create.html.php index d412182c6c..d70be860d4 100644 --- a/module/story/view/create.html.php +++ b/module/story/view/create.html.php @@ -29,6 +29,7 @@
+ story->module;?> story->needNotReview, '', "id='needNotReview' {$needReview}");?>
- -
- story->estimate;?> - - story->hour;?> -
- story->title;?>
-
+
@@ -96,6 +90,12 @@ story->priList, $pri, "class='form-control'");?>
+
+
+ story->estimateAB;?> + +
+
@@ -108,21 +108,32 @@ - story->mailto;?> - + story->mailto;?> +
'; + echo '' . $lang->user->contacts->manage . ''; + echo ''; + echo ''; + echo '' . $lang->refresh . ''; + echo ''; + } ?>
+ +
+ story->keywords;?> + +
+ - story->keywords;?> - - - story->legendAttatch;?> fetch('file', 'buildform');?> @@ -131,4 +142,5 @@ +story->module);?> diff --git a/module/story/view/edit.html.php b/module/story/view/edit.html.php index e811119d21..c995045f2f 100644 --- a/module/story/view/edit.html.php +++ b/module/story/view/edit.html.php @@ -59,31 +59,35 @@ story->module;?> - - module, 'class="form-control chosen"'); - if(count($moduleOptionMenu) == 1) - { - echo ""; - echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story"), $lang->tree->manage, '_blank'); - echo html::a("javascript:loadProductModules($story->product)", $lang->refresh); - echo ''; - } - ?> + +
+ module, 'class="form-control chosen"'); + if(count($moduleOptionMenu) == 1) + { + echo ""; + echo html::a($this->createLink('tree', 'browse', "rootID=$story->product&view=story"), $lang->tree->manage, '_blank'); + echo html::a("javascript:loadProductModules($story->product)", $lang->refresh); + echo ''; + } + ?> +
story->plan;?> - - plan, "class='form-control chosen'"); - if(count($plans) == 1) - { - echo ""; - echo html::a($this->createLink('productplan', 'create', "productID=$story->product"), $lang->productplan->create, '_blank'); - echo html::a("javascript:loadProductPlans($story->product)", $lang->refresh); - echo ''; - } - ?> + +
+ plan, "class='form-control chosen'"); + if(count($plans) == 1) + { + echo ""; + echo html::a($this->createLink('productplan', 'create', "productID=$story->product"), $lang->productplan->create, '_blank'); + echo html::a("javascript:loadProductPlans($story->product)", $lang->refresh); + echo ''; + } + ?> +
diff --git a/module/story/view/header.html.php b/module/story/view/header.html.php index 45f6b5645b..64872306ff 100644 --- a/module/story/view/header.html.php +++ b/module/story/view/header.html.php @@ -10,7 +10,11 @@ function loadProduct(productID) function loadProductModules(productID) { moduleLink = createLink('tree', 'ajaxGetOptionMenu', 'productID=' + productID + '&viewtype=story&rootModuleID=0&returnType=html&needManage=true'); - $('#moduleIdBox').load(moduleLink, function(){$('#moduleIdBox #module').chosen(defaultChosenOptions);}); + $('#moduleIdBox').load(moduleLink, function() + { + $('#moduleIdBox #module').chosen(defaultChosenOptions); + if(typeof(storyModule) == 'string') $('#moduleIdBox').prepend("" + storyModule + "") + }); } function loadProductPlans(productID)