<?php $this->widget('admin.widgets.TableCover');?>
<h1>任务参与列表</h1>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'dataProvider'=>$dataProvider,
    'itemsCssClass' => 'widefat post',
    'summaryText'=>'显示{start}-{end}条 总共{count}条',
    'columns' => array(
        'id',
        'task_id',
        array(
            'name' => '任务名',
            'value' => '$data->task->subject',
        ),
        array(
            'name' => '奖励',
            'value' => '$data->task->reward',
        ),
        'uid',
        'username',
        array(
            'name' => 'status',
            'value' => '$data->getStatus()',
        ),
        'createdate',
    ),
));