diff --git a/module/branch/model.php b/module/branch/model.php
index c4528fb9b8..1b7e612e50 100644
--- a/module/branch/model.php
+++ b/module/branch/model.php
@@ -46,7 +46,8 @@ class branchModel extends model
$product = $this->loadModel('product')->getById($productID);
if(!$product or $product->type == 'normal') return array();
- $branches = array('0' => $this->lang->branch->all . $this->lang->product->branchName[$product->type]) + $branches;
+ $space = $this->app->getClientLang() == 'en' ? ' ' : '';
+ $branches = array('0' => $this->lang->branch->all . $space . $this->lang->product->branchName[$product->type]) + $branches;
}
return $branches;
}
diff --git a/module/bug/js/common.js b/module/bug/js/common.js
index 89d2ec866c..2933bb843f 100644
--- a/module/bug/js/common.js
+++ b/module/bug/js/common.js
@@ -468,17 +468,20 @@ function notice()
if($('#openedBuild').find('option').length <= 1)
{
var html = '';
- if($('#project').val() == '')
+ if($('#project').length == 0 || $('#project').val() == '')
{
- branch = $('#branch').val();
+ var branch = $('#branch').val();
if(typeof(branch) == 'undefined') branch = 0;
- html += '' + createRelease + ' ';
+ var link = createLink('release', 'create', 'productID=' + $('#product').val() + '&branch=' + branch);
+ if(typeof(flow) != 'undefined' && flow == 'onlyTest') link = createLink('build', 'create','projectID=' + $('#product').val());
+ html += '' + createBuild + ' ';
html += '' + refresh + '';
}
else
{
- html += '' + createBuild + ' ';
- html += '' + refresh + '';
+ projectID = $('#project').val();
+ html += '' + createBuild + ' ';
+ html += '' + refresh + '';
}
var $bba = $('#buildBoxActions');
if($bba.length)
diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php
index 4039170c43..0f1c77a5f9 100644
--- a/module/bug/view/create.html.php
+++ b/module/bug/view/create.html.php
@@ -19,7 +19,7 @@ js::set('page', 'create');
js::set('createRelease', $lang->release->create);
js::set('createBuild', $lang->build->create);
js::set('refresh', $lang->refresh);
-js::set('confirmDeleteTemplate', $lang->bug->confirmDeleteTemplate);
+js::set('flow', $config->global->flow);
?>
diff --git a/module/common/lang/en.php b/module/common/lang/en.php
index 073c6ceb58..d6f4cdeccb 100644
--- a/module/common/lang/en.php
+++ b/module/common/lang/en.php
@@ -21,7 +21,7 @@ $lang->percent = '%';
$lang->dash = '-';
$lang->zentaoPMS = 'ZenTao';
-$lang->welcome = "%s";
+$lang->welcome = "%s ALM";
$lang->logout = 'Logout';
$lang->login = 'Login';
$lang->help = 'Help';
@@ -518,7 +518,7 @@ $lang->proVersion = "
install->welcome = 'Thanks for choosing ZenTao!';
$lang->install->license = 'ZenTao is under Z PUBLIC LICENSE(ZPL) 1.2';
$lang->install->desc = <<Z Public License. It integrates with Product Management, Project Management, QA Management, Document Management, Todos Management, Company Management etc. ZenTao is the best choice for software project management.
+ZenTao ALM is an Open Source software released under
Z Public License. It integrates with Product Management, Project Management, QA Management, Document Management, Todos Management, Company Management etc. ZenTao is the best choice for software project management.
-ZenTao is built on PHP + MySQL and based on ZenTaoPHP framework, an independent framework developed by our team. Third party developers/organizations can develop plug-ins or customize for their requirements.
+ZenTao ALM is built on PHP + MySQL and based on ZenTaoPHP framework, an independent framework developed by our team. Third party developers/organizations can develop plug-ins or customize for their requirements.
EOT;
$lang->install->links = <<
Nature Easy Soft Co., LTD.
diff --git a/module/story/config.php b/module/story/config.php
index d77f07bf8a..376aed98be 100644
--- a/module/story/config.php
+++ b/module/story/config.php
@@ -102,7 +102,7 @@ $config->story->datatable->fieldList['estimate']['required'] = 'no';
$config->story->datatable->fieldList['stage']['title'] = 'stageAB';
$config->story->datatable->fieldList['stage']['fixed'] = 'no';
-$config->story->datatable->fieldList['stage']['width'] = '80';
+$config->story->datatable->fieldList['stage']['width'] = '95';
$config->story->datatable->fieldList['stage']['required'] = 'no';
$config->story->datatable->fieldList['openedBy']['title'] = 'openedByAB';