* task 2051

This commit is contained in:
chujilu
2014-08-14 10:47:09 +08:00
parent 6fe88f5ec2
commit 0a4698989d
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ $lang->action->desc->diff2 = 'changed <strong><i>%s</i></strong>, the d
$lang->action->desc->diff3 = "changed file's name %s to %s.";
$lang->action->desc->starttesttask = '$date, <strong>$actor</strong> start testtask <strong>$extra</strong>.' . "\n";
$lang->action->desc->stoptesttask = '$date, <strong>$actor</strong> stop testtask <strong>$extra</strong>.' . "\n";
$lang->action->desc->createbuild = '$date, <strong>$actor</strong> create build <strong>$extra</strong>.' . "\n";
/* The action labels. */
$lang->action->label = new stdclass();
+1
View File
@@ -97,6 +97,7 @@ $lang->action->desc->diff2 = '修改了 <strong><i>%s</i></strong>,
$lang->action->desc->diff3 = '将文件名 %s 改为 %s 。' . "\n";
$lang->action->desc->starttesttask = '$date, 由 <strong>$actor</strong> 启动测试任务 <strong>$extra</strong>。' . "\n";
$lang->action->desc->stoptesttask = '$date, 由 <strong>$actor</strong> 关闭测试任务 <strong>$extra</strong>。' . "\n";
$lang->action->desc->createbuild = '$date, 由 <strong>$actor</strong> 创建版本 <strong>$extra</strong>。' . "\n";
/* 用来显示动态信息。*/
$lang->action->label = new stdclass();
+1
View File
@@ -25,6 +25,7 @@ class build extends control
$buildID = $this->build->create($projectID);
if(dao::isError()) die(js::error(dao::getError()));
$this->loadModel('action')->create('build', $buildID, 'opened');
$actionID = $this->action->create('project', $projectID, 'createbuild', '', $buildID);
die(js::locate($this->createLink('project', 'build', "project=$projectID"), 'parent'));
}