Incam_IntranetNueva/www/protected/views/candidato/_view.php

95 lines
4.9 KiB
PHP

<?php
//Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/custom/elements.js');
?>
<div class="resumen">
<div class="one_half">
<div class="one_half alignright">
<?php
echo CHtml::image($data->foto, $data->nombre,
array("title" => $data->nombre, "width"=>"120", "height"=>"120")
); ?>
</div>
<div class="one_half last">
<h2><?php echo CHtml::encode($data->nombreCompleto); ?></h2>
<?php echo CHtml::link(CHtml::encode($data->estados->descripcion), "#", array("class" => $data->cssClassEstado)); ?><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('sexo')); ?>:</strong>&nbsp;<?php echo CHtml::encode($data->sexo); ?><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('fecha_nacimiento')); ?>:</strong>&nbsp;<?php echo CHtml::encode($data->fecha_nacimiento); ?><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('lugar_nacimiento')); ?>:</strong>&nbsp;<?php echo CHtml::encode($data->lugar_nacimiento); ?><br/>
</div>
</div>
<div class="one_half last">
<div class="one_third alignright">
<strong><?php echo CHtml::encode($data->getAttributeLabel('dni')); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('localidad')); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('email')); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('telefono_fijo')); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('telefono_movil')); ?>:</strong><br/>
</div>
<div class="two_third last">
<?php echo CHtml::encode($data->dni); ?><br/>
<?php echo CHtml::encode($data->nombreCompletoLocalidad); ?><br/>
<?php echo CHtml::mailto($data->email); ?><br/>
<?php echo CHtml::encode($data->telefono_fijo); ?><br/>
<?php echo CHtml::encode($data->telefono_movil); ?><br/>
</div>
</div>
<br clear="all"/>
<br clear="all"/>
<div class="one_half ">
<div class="one_half alignright">
<h3 class="title">Disponibilidad</h3>
<strong><?php echo Yii::t('intranet', 'Incorporación'); ?>:</strong><br/>
<strong><?php echo Yii::t('intranet', 'Entrevistas'); ?>:</strong><br/>
<strong><?php echo Yii::t('intranet', 'Para guardias'); ?>:</strong><br/>
<strong><?php echo Yii::t('intranet', 'Para viajar'); ?>:</strong><br/>
<strong><?php echo Yii::t('intranet', 'Proyectos internacionales'); ?>:</strong><br/>
</div>
<div class="one_half last">
<br/>
<?php echo CHtml::encode($data->disponibilidad_incorporacion); ?><br/>
<?php echo CHtml::encode($data->disponibilidad_entrevistas); ?><br/>
<?php echo CHtml::encode($data->disponibilidad_guardias); ?><br/>
<?php echo CHtml::encode($data->disponibilidad_viajar); ?><br/>
<?php echo CHtml::encode($data->disponibilidad_proyectos_internacionales); ?><br/>
</div>
</div>
<div class="one_half last">
<div class="one_third alignright">
<strong><?php echo CHtml::encode($data->getAttributeLabel('carnet_conducir')); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('vehiculo_propio')); ?>:</strong><br/>
<strong><?php echo Yii::t('intranet', 'Rango salarial'); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('telefono_movil')); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('idiomas')); ?>:</strong><br/>
<strong><?php echo CHtml::encode($data->getAttributeLabel('titulacciones')); ?>:</strong><br/>
</div>
<div class="two_third last">
<?php echo CHtml::encode($data->carnet_conducir); ?><br/>
<?php echo CHtml::encode($data->tieneVehiculoPropio); ?><br/>
<?php echo CHtml::encode($data->rangoSalarial); ?><br/>
<?php echo CHtml::encode($data->telefono_movil); ?><br/>
<?php echo implode(', ', ($this->darListaIdiomas($data))); ?><br/>
<?php echo implode(', ', ($this->darListaTitulaciones($data))); ?>
</div>
</div>
<br clear="all"/>
<br clear="all"/>
<div class="one_half ">
<div class="one_half alignright">
<strong><?php echo CHtml::encode($data->getAttributeLabel('observaciones')); ?>:</strong>
</div>
<div class="one_half last">
<?php echo CHtml::encode($data->observaciones); ?>
</div>
</div>
<div class="one_half last">
<div class="one_half alignright">
</div>
<div class="one_half last">
</div>
</div>
</div>