diff --git a/module/cron/view/edit.html.php b/module/cron/view/edit.html.php
index 5ca99a599e..24b6207096 100644
--- a/module/cron/view/edit.html.php
+++ b/module/cron/view/edit.html.php
@@ -11,9 +11,6 @@
*/
?>
-
-
-
diff --git a/module/execution/model.php b/module/execution/model.php
index 0a6b0c5f14..df9c0acdb2 100644
--- a/module/execution/model.php
+++ b/module/execution/model.php
@@ -1150,10 +1150,14 @@ class executionModel extends model
{
$link = helper::createLink($module, $method, "executionID=%s&type=$extra");
}
- elseif($module == 'execution' && ($method == 'index' or $method == 'all'))
+ elseif($module == 'execution' and ($method == 'index' or $method == 'all'))
{
$link = helper::createLink($module, 'task', "executionID=%s");
}
+ elseif($module == 'bug' and $method == 'create' and $this->app->openApp == 'execution')
+ {
+ $link = helper::createLink($module, $method, "productID=0&branch=0&extra=executionID=%s");
+ }
else
{
$link = helper::createLink($module, $method, "executionID=%s");
diff --git a/module/execution/view/ajaxgetdropmenu.html.php b/module/execution/view/ajaxgetdropmenu.html.php
index 4765518eff..5aff5361a4 100644
--- a/module/execution/view/ajaxgetdropmenu.html.php
+++ b/module/execution/view/ajaxgetdropmenu.html.php
@@ -24,13 +24,13 @@ foreach($executions as $execution)
$executionName = $config->systemMode == 'new' ? zget($projects, $execution->project) . '/' . $execution->name : $execution->name;
if($execution->status != 'done' and $execution->status != 'closed' and ($execution->PM == $this->app->user->account or isset($execution->teams[$this->app->user->account])))
{
- $myProjectsHtml .= html::a(sprintf($link, $execution->id), " " . $executionName, '', "class='text-important $selected' title='{$executionName}' data-key='" . zget($executionsPinYin, $execution->name, '') . "'");
+ $myProjectsHtml .= html::a(sprintf($link, $execution->id), " " . $executionName, '', "class='text-important $selected' title='{$executionName}' data-key='" . zget($executionsPinYin, $execution->name, '') . "' data-app='{$this->app->openApp}'");
}
else if($execution->status != 'done' and $execution->status != 'closed' and $execution->PM != $this->app->user->account and !isset($execution->teams[$this->app->user->account]))
{
- $normalProjectsHtml .= html::a(sprintf($link, $execution->id), " " . $executionName, '', "class='$selected' title='{$executionName}' data-key='" . zget($executionsPinYin, $execution->name, '') . "'");
+ $normalProjectsHtml .= html::a(sprintf($link, $execution->id), " " . $executionName, '', "class='$selected' title='{$executionName}' data-key='" . zget($executionsPinYin, $execution->name, '') . "' data-app='{$this->app->openApp}'");
}
- else if($execution->status == 'done' or $execution->status == 'closed') $closedProjectsHtml .= html::a(sprintf($link, $execution->id), " " . $executionName, '', "class='$selected' title='{$executionName}' data-key='" . zget($executionsPinYin, $execution->name, '') . "'");
+ else if($execution->status == 'done' or $execution->status == 'closed') $closedProjectsHtml .= html::a(sprintf($link, $execution->id), " " . $executionName, '', "class='$selected' title='{$executionName}' data-key='" . zget($executionsPinYin, $execution->name, '') . "' data-app='{$this->app->openApp}'");
}
?>
diff --git a/module/group/lang/resource.php b/module/group/lang/resource.php
index 3400b3411d..9bf9bf8739 100644
--- a/module/group/lang/resource.php
+++ b/module/group/lang/resource.php
@@ -189,7 +189,7 @@ if($config->systemMode == 'new')
$lang->resource->project = new stdclass();
$lang->resource->project->index = 'index';
$lang->resource->project->browse = 'browse';
- $lang->resource->project->projectTitle = 'moduleOpen';
+ $lang->resource->project->programTitle = 'moduleOpen';
$lang->resource->project->create = 'create';
$lang->resource->project->edit = 'edit';
$lang->resource->project->batchEdit = 'batchEdit';
diff --git a/module/personnel/view/accessible.html.php b/module/personnel/view/accessible.html.php
index 538e08c971..d06bcb048a 100644
--- a/module/personnel/view/accessible.html.php
+++ b/module/personnel/view/accessible.html.php
@@ -35,8 +35,8 @@ js::set('deptID', $deptID);
-
-
+
+