* task 2051
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user