- $this->breadcrumbs=array( Yii::t('app', 'Users')=>array('index'), $model->id )

- $this->menu=array(                                                                                                             |
    array('label'=>Yii::t('app', 'Manage Users'),'url'=>array('index'), 'auth'=>array('manage_users')),                                                                           |
    array('label'=>Yii::t('app', 'Create User'),'url'=>array('create'), 'auth'=>array('manage_users','user_create')),                                                                        |
    array('label'=>Yii::t('app', 'Update User'),'url'=>array('update','id'=>$model->id), 'auth'=>array('manage_users','user_update')),                                                       |
    array('label'=>Yii::t('app', 'Delete User'),'url'=>array('delete','id'=>$model->id), 'auth'=>array('manage_users','user_delete'),'confirm'=>Yii::t('app', 'Are you sure you want to delete this item?')), |
  )                                                                                                                              |

- $authInfos = $model->getFullAuthLabelsArray();
- $rls = $authInfos[2]
- $tks = $authInfos[1]
- $ops = $authInfos[0]

- $roles = implode(', ',$rls)
- $tasks = implode(', ',$tks)
- $operations = implode(', ',$ops)

%h2
  = Yii::t('app', 'View user')
  = "#{$model->id}"

- $this->widget('bootstrap.widgets.TbDetailView',array( |
    'data'=>$model,                                     |
    'attributes'=>array(                                |
      'id',                                             |
      'username',                                       |
      'email',                                          |
      'last_name',                                      |
      'first_name',                                     |
      'matriculation_number',                           |
      'qualification',                                  |
      'status',                                         |
      'create_time',                                    |
      'update_time',                                    |
      'can_change_password',                            |
      'password_last_update',                           |
      'password_timeout',                               |
      array('name'=>'apikey', 'visible'=>user()->checkAccess('user_view_apikey')),                  |
      array('name'=>('Roles'),'value'=>$roles),         |
      array('name'=>('Tasks'),'value'=>$tasks),         |
      array('name'=>('Operations'),'value'=>$operations), |
    ),                                                  |
  ))                                                    |
