Example #1
0
echo Yii::t('workflow', '{recordName}', array('{recordName}' => $modelName));
?>
'>
    <img src='<?php 
if (file_exists(substr(Yii::app()->theme->getBaseUrl() . '/images/workflow_stage_' . $recordType . '.png', 1))) {
    echo Yii::app()->theme->getBaseUrl() . '/images/workflow_stage_' . $recordType . '.png';
} else {
    echo Yii::app()->theme->getBaseUrl() . '/images/workflow_stage_model.png';
}
?>
' 
     class='stage-member-type-icon left' alt=''>
</div>
<div class='stage-member-name left'><?php 
if (!$dummyPartial) {
    echo X2Model::getModelLinkMock($modelName, $data['nameId'], array('data-qtip-title' => $data['name']));
}
?>
</div>
<div class='stage-member-button-container'>
    <a class='stage-member-button complete-stage-button right x2-button x2-minimal-button' 
     style='display: none;' title='<?php 
echo Yii::t('app', 'Complete Stage');
?>
'>&gt;</a>
    <a class='stage-member-button undo-stage-button x2-button x2-minimal-button right' 
     style='display: none;' title='<?php 
echo Yii::t('app', 'Undo Stage');
?>
'>&lt;</a>
    <a class='stage-member-button edit-details-button right' style='display: none;'