diff --git a/framework/base/model.class.php b/framework/base/model.class.php
index bf4a0136ab..3c734d0071 100644
--- a/framework/base/model.class.php
+++ b/framework/base/model.class.php
@@ -281,8 +281,8 @@ class baseModel
/* 设置扩展的名字和相应的文件。Set extenson name and extension file. */
$moduleExtPath = $this->app->getModuleExtPath($this->appName, $moduleName, $type);
if(!empty($moduleExtPath['site'])) $extensionFile = $moduleExtPath['site'] . 'class/' . $extensionName . '.class.php';
- if(!isset($extensionFile) or !file_exists($extensionFile)) $extensionFile = $moduleExtPath['custom'] . 'class/' . $extensionName . '.class.php';
if(!isset($extensionFile) or !file_exists($extensionFile)) $extensionFile = $moduleExtPath['saas'] . 'class/' . $extensionName . '.class.php';
+ if(!isset($extensionFile) or !file_exists($extensionFile)) $extensionFile = $moduleExtPath['custom'] . 'class/' . $extensionName . '.class.php';
if(!isset($extensionFile) or !file_exists($extensionFile)) $extensionFile = $moduleExtPath['vision'] . 'class/' . $extensionName . '.class.php';
if(!isset($extensionFile) or !file_exists($extensionFile)) $extensionFile = $moduleExtPath['xuan'] . 'class/' . $extensionName . '.class.php';
if(!isset($extensionFile) or !file_exists($extensionFile)) $extensionFile = $moduleExtPath['common'] . 'class/' . $extensionName . '.class.php';
diff --git a/module/bug/js/common.js b/module/bug/js/common.js
index 0c74f79a6f..3cf0a2ac8b 100644
--- a/module/bug/js/common.js
+++ b/module/bug/js/common.js
@@ -35,7 +35,7 @@ function markReleasedBuilds($option)
if(!$option.find('.label-released').length)
{
var optionText = $option.find('.picker-option-text').html();
- $option.find('.picker-option-text').replaceWith("
diff --git a/module/build/lang/de.php b/module/build/lang/de.php
index 385db70d1c..12095b323b 100644
--- a/module/build/lang/de.php
+++ b/module/build/lang/de.php
@@ -36,7 +36,7 @@ $lang->build->execution = $lang->executionCommon;
$lang->build->integrated = 'Integrated';
$lang->build->singled = 'Singled';
$lang->build->builds = 'Included Builds';
-$lang->build->releasedBuild = 'Released Build';
+$lang->build->released = 'Released';
$lang->build->name = 'Name';
$lang->build->date = 'Datum';
$lang->build->builder = 'Builder';
diff --git a/module/build/lang/en.php b/module/build/lang/en.php
index 0b64199217..6be3a2d6df 100644
--- a/module/build/lang/en.php
+++ b/module/build/lang/en.php
@@ -36,7 +36,7 @@ $lang->build->execution = $lang->executionCommon;
$lang->build->integrated = 'Integrated';
$lang->build->singled = 'Singled';
$lang->build->builds = 'Included Builds';
-$lang->build->releasedBuild = 'Released Build';
+$lang->build->released = 'Released';
$lang->build->name = 'Name';
$lang->build->date = 'Date';
$lang->build->builder = 'Builder';
diff --git a/module/build/lang/fr.php b/module/build/lang/fr.php
index 7633876217..ee7d3312db 100644
--- a/module/build/lang/fr.php
+++ b/module/build/lang/fr.php
@@ -36,7 +36,7 @@ $lang->build->execution = $lang->executionCommon;
$lang->build->integrated = 'Integrated';
$lang->build->singled = 'Singled';
$lang->build->builds = 'Included Builds';
-$lang->build->releasedBuild = 'Released Build';
+$lang->build->released = 'Released';
$lang->build->name = 'Nom';
$lang->build->date = 'Date';
$lang->build->builder = 'Builder';
diff --git a/module/build/lang/zh-cn.php b/module/build/lang/zh-cn.php
index f24b21bb26..a9f9d874db 100644
--- a/module/build/lang/zh-cn.php
+++ b/module/build/lang/zh-cn.php
@@ -36,7 +36,7 @@ $lang->build->execution = '所属' . $lang->executionCommon;
$lang->build->integrated = '集成版本';
$lang->build->singled = '单一版本';
$lang->build->builds = '包含版本';
-$lang->build->releasedBuild = '发布版本';
+$lang->build->released = '发布';
$lang->build->name = '名称编号';
$lang->build->date = '打包日期';
$lang->build->builder = '构建者';
diff --git a/module/build/model.php b/module/build/model.php
index fd739b41a0..baa9253ead 100644
--- a/module/build/model.php
+++ b/module/build/model.php
@@ -327,7 +327,7 @@ class buildModel extends model
$releaseName = $release->name;
$branchName = $release->branchName ? $release->branchName : $this->lang->branch->main;
if($release->productType != 'normal') $releaseName = (strpos($params, 'withbranch') !== false ? $branchName . '/' : '') . $releaseName;
- if(strpos($params, 'releasetag') !== false) $releaseName = "[{$this->lang->build->releasedBuild}] " . $releaseName;
+ if(strpos($params, 'releasetag') !== false) $releaseName = $releaseName . " [{$this->lang->build->released}]";
$builds[$release->date][$release->shadow] = $releaseName;
foreach(explode(',', trim($release->build, ',')) as $buildID)
{
diff --git a/module/doc/view/browse.html.php b/module/doc/view/browse.html.php
index 0a22344249..16d5112f47 100644
--- a/module/doc/view/browse.html.php
+++ b/module/doc/view/browse.html.php
@@ -84,7 +84,7 @@
id&objectType=doc");?>" title="" class='btn btn-link ajaxCollect'>
- id&comment=false", "
", '', "title='{$lang->edit}' class='btn btn-link iframe'", true, true)?>
+ id&comment=false", "
", '', "title='{$lang->edit}' class='btn btn-link'", true, false)?>
id&confirm=no", "
", 'hiddenwin', "title='{$lang->delete}' class='btn btn-link'")?>
diff --git a/module/execution/model.php b/module/execution/model.php
index 1e83956238..ed66a03b88 100755
--- a/module/execution/model.php
+++ b/module/execution/model.php
@@ -5189,6 +5189,7 @@ class executionModel extends model
$_POST = array();
$_POST['project'] = $projectID;
$_POST['name'] = $project->name;
+ $_POST['code'] = $project->code;
$_POST['begin'] = $project->begin;
$_POST['end'] = $project->end;
$_POST['realBegan'] = $project->realBegan;
@@ -5202,8 +5203,6 @@ class executionModel extends model
$_POST['status'] = $project->status;
$_POST['acl'] = 'open';
- if(!empty($_POST['code'])) $_POST['code'] = $project->code;
-
$projectProducts = $this->dao->select('*')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($projectID)->fetchAll();
foreach($projectProducts as $projectProduct)
{
diff --git a/module/project/view/build.html.php b/module/project/view/build.html.php
index 7fe72a1081..c56abcee1d 100644
--- a/module/project/view/build.html.php
+++ b/module/project/view/build.html.php
@@ -48,7 +48,7 @@
| build->id;?> |
- build->name;?> |
+ build->name;?> |
hasProduct):?>
build->product;?> |
@@ -68,11 +68,11 @@
| id"), sprintf('%03d', $build->id), '', "data-app='project'");?> |
- execution):?>
-
-
branchName) echo "{$build->branchName}"?>
createLink($module, 'view', "buildID=$build->id"), $build->name, '', "data-app='project'");?>
+ execution):?>
+
+
|
hasProduct):?>
productName;?> |