user card level
This commit is contained in:
@@ -35,6 +35,12 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
return Html::tag('img', null, ['src' => $model->photo, 'width' => '100px']);
|
||||
}
|
||||
],
|
||||
[
|
||||
'attribute' => 'level',
|
||||
'value' => function($model){
|
||||
return \common\models\UserCard::getLevelLabel($model->level);
|
||||
}
|
||||
],
|
||||
[
|
||||
'attribute' => 'resume',
|
||||
'format' => 'raw',
|
||||
|
Reference in New Issue
Block a user