<?php
$this->widget('bootstrap.widgets.TbLabel', array(
    'type' => $data->passwordStatus == '1' ? 'success' : 'important', // 'success', 'warning', 'important', 'info' or 'inverse'
    'label' => $data->passwordStatus == '1' ? __('THIRDPARTYCREDENTIAL_MODEL_TITLE_PASSWORD_STATUS_VALID') : __('THIRDPARTYCREDENTIAL_MODEL_TITLE_PASSWORD_STATUS_INVALID')
));