<?php

$this->widget('bootstrap.widgets.TbLabel', array(
    'type' => $data->authenticated == '1' ? 'success' : 'warning', // 'success', 'warning', 'important', 'info' or 'inverse'
    'label' => $data->authenticated == '1' ? __('Yes') : __('No')
));
?>