* convert account to realname.

This commit is contained in:
wangchunsheng
2010-01-13 09:57:49 +00:00
parent 6a0ba865bf
commit 667427e9b7
2 changed files with 2 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ class index extends control
$this->view->burns = $burns;
$this->view->counts = count($projects);
$this->view->actions = $this->dao->select('*')->from(TABLE_ACTION)->orderBy('id desc')->limit(30)->fetchAll();
$this->view->users = $this->loadModel('user')->getPairs($this->app->company->id, 'noletter');
$this->display();
}

View File

@@ -59,7 +59,7 @@
foreach($actions as $action)
{
if($action->objectType == 'case') $action->objectType = 'testcase';
echo date('H:i', $action->date) . ' ' . $action->actor . ' ' . $action->action . ' ' . $action->objectType . ' ' . html::a($this->createLink($action->objectType, 'view', "id=$action->objectID"), '#' . $action->objectID);
echo date('H:i', $action->date) . ' ' . $users[$action->actor] . ' ' . $action->action . ' ' . $action->objectType . ' ' . html::a($this->createLink($action->objectType, 'view', "id=$action->objectID"), '#' . $action->objectID);
echo "<br />";
}
?>