* Finish task #70482.
This commit is contained in:
@@ -33,7 +33,7 @@ $config->project->sortFields->budget = 'budget';
|
||||
|
||||
global $lang;
|
||||
$config->project->datatable = new stdclass();
|
||||
$config->project->datatable->defaultField = array('id', 'name', 'PM', 'status', 'begin', 'end', 'budget', 'progress', 'actions');
|
||||
$config->project->datatable->defaultField = array('id', 'name', 'status', 'PM', 'budget', 'begin', 'end', 'progress', 'actions');
|
||||
|
||||
$config->project->datatable->fieldList['id']['title'] = 'ID';
|
||||
$config->project->datatable->fieldList['id']['fixed'] = 'left';
|
||||
@@ -74,6 +74,12 @@ $config->project->datatable->fieldList['status']['required'] = 'no';
|
||||
$config->project->datatable->fieldList['status']['sort'] = 'yes';
|
||||
$config->project->datatable->fieldList['status']['pri'] = '2';
|
||||
|
||||
$config->project->datatable->fieldList['budget']['title'] = 'budget';
|
||||
$config->project->datatable->fieldList['budget']['fixed'] = 'no';
|
||||
$config->project->datatable->fieldList['budget']['width'] = '100';
|
||||
$config->project->datatable->fieldList['budget']['required'] = 'yes';
|
||||
$config->project->datatable->fieldList['budget']['pri'] = '3';
|
||||
|
||||
$config->project->datatable->fieldList['begin']['title'] = 'begin';
|
||||
$config->project->datatable->fieldList['begin']['fixed'] = 'no';
|
||||
$config->project->datatable->fieldList['begin']['width'] = '115';
|
||||
@@ -86,12 +92,6 @@ $config->project->datatable->fieldList['end']['width'] = '100';
|
||||
$config->project->datatable->fieldList['end']['required'] = 'no';
|
||||
$config->project->datatable->fieldList['end']['pri'] = '3';
|
||||
|
||||
$config->project->datatable->fieldList['budget']['title'] = 'budget';
|
||||
$config->project->datatable->fieldList['budget']['fixed'] = 'no';
|
||||
$config->project->datatable->fieldList['budget']['width'] = '100';
|
||||
$config->project->datatable->fieldList['budget']['required'] = 'yes';
|
||||
$config->project->datatable->fieldList['budget']['pri'] = '3';
|
||||
|
||||
$config->project->datatable->fieldList['teamCount']['title'] = 'teamCount';
|
||||
$config->project->datatable->fieldList['teamCount']['fixed'] = 'no';
|
||||
$config->project->datatable->fieldList['teamCount']['width'] = '70';
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
<?php
|
||||
foreach($setting as $value)
|
||||
{
|
||||
if($value->id == 'status' and strpos(',all,bysearch,', ",$browseType,") === false) $value->show = false;
|
||||
if($value->id == 'status' and strpos(',all,bysearch,undone,', ",$browseType,") === false) $value->show = false;
|
||||
if($value->id == 'teamCount' and $browseType == 'all') $value->show = false;
|
||||
if(commonModel::isTutorialMode() && ($value->id == 'PM' || $value->id == 'budget' || $value->id == 'teamCount')) $value->show = false;
|
||||
if($value->show) $this->datatable->printHead($value, $orderBy, $vars, $canBatchEdit);
|
||||
|
||||
Reference in New Issue
Block a user