* Adjust the programplan modue code.
This commit is contained in:
@@ -727,7 +727,7 @@ class programplanModel extends model
|
||||
{
|
||||
$class = 'c-' . $id;
|
||||
$title = '';
|
||||
$idList = array('id','name','output','percent','attribute','version','begin','end','realBegan','realEnd');
|
||||
$idList = array('id','name','output','percent','attribute','version','begin','end','realBegan','realEnd', 'openedBy', 'openedDate');
|
||||
if(in_array($id,$idList))
|
||||
{
|
||||
$class .= ' text-left';
|
||||
@@ -784,6 +784,12 @@ class programplanModel extends model
|
||||
case 'editedDate':
|
||||
echo substr($plan->editedDate, 5, 11);
|
||||
break;
|
||||
case 'openedBy':
|
||||
echo zget($users, $plan->openedBy);
|
||||
break;
|
||||
case 'openedDate':
|
||||
echo substr($plan->openedDate, 5, 11);
|
||||
break;
|
||||
case 'actions':
|
||||
common::printIcon('project', 'start', "projectID={$plan->id}", $plan, 'list', '', '', 'iframe', true);
|
||||
$class = !empty($plan->children) ? 'disabled' : '';
|
||||
|
||||
Reference in New Issue
Block a user