* convert account to realname.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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 />";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user