diff --git a/module/product/control.php b/module/product/control.php
index 1e53c206c3..f1628fdda8 100644
--- a/module/product/control.php
+++ b/module/product/control.php
@@ -216,7 +216,7 @@ class product extends control
$this->app->loadLang('datatable');
$this->lang->datatable->showBranch = sprintf($this->lang->datatable->showBranch, $this->lang->product->branchName[$product->type]);
}
-
+
/* Get stories. */
if($this->app->rawModule == 'projectstory')
{
@@ -992,16 +992,24 @@ class product extends control
}
$field = $fieldID ? "plans[$fieldID]" : 'plan';
- $output = html::select($field, $plans, $planID, "class='form-control chosen'");
+ $output = "
";
+ $output .= "
";
+ $output .= html::select($field, $plans, $planID, "class='form-control chosen'");
+ $output .= "
";
if(count($plans) == 1 and $needCreate)
{
+ $output .= "
";
$output .= "
";
$output .= html::a($this->createLink('productplan', 'create', "productID=$productID&branch=$branch", '', true), "", '', "class='btn btn-icon' data-toggle='modal' data-type='iframe' data-width='95%' title='{$this->lang->productplan->create}'");
$output .= '
';
+ $output .= '
';
+ $output .= "
";
$output .= "
";
$output .= html::a("javascript:void(0)", "", '', "class='btn btn-icon refresh' data-toggle='tooltip' title='{$this->lang->refresh}' onclick='loadProductPlans($productID)'");
$output .= '
';
+ $output .= '
';
}
+ $output .= "
";
die($output);
}
diff --git a/module/story/css/batchedit.css b/module/story/css/batchedit.css
index fc90ab0786..9ffd2dddb8 100644
--- a/module/story/css/batchedit.css
+++ b/module/story/css/batchedit.css
@@ -2,9 +2,11 @@
.c-id {width: 40px;}
.c-estimate {width: 50px;}
.c-branch, .c-module {width: 120px;}
-.c-plan, .c-title {width: 150px;}
+.c-title {width: 150px;}
+.c-plan {width: 170px;}
.c-category {width: 90px;}
.c-pri {width: 70px;}
.c-source {width: 130px;}
.c-note, .c-stage, .c-reason {width: 100px;}
.c-keywords {width: 80px;}
+#batchEditForm > div > table > tbody > tr > td:nth-child(4) > div > div:nth-child(1) {width: 60%;}