Candidatos -> historial de un candidato. Ajustes en presentación de columna 'Stamp'
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_IntranetNueva/trunk@58 77cfc57b-8ef4-1849-9df6-4a38aa5da120
This commit is contained in:
parent
6e5162321e
commit
1d7c98f4c1
@ -49,16 +49,17 @@ class HistorialWidget extends ShowAuditTrail {
|
||||
$evalUserLabel = $this->getEvalUserLabelCode();
|
||||
$columnFormat = array();
|
||||
$defaultColumnFormat = array(
|
||||
'stamp' => array(
|
||||
'stamp' => array(
|
||||
'type' => 'raw',
|
||||
'name' => 'stamp',
|
||||
'value' => 'Time::timeAgoInWords($data->stamp);',
|
||||
'header' => Yii::t('intranet','Stamp'),
|
||||
'filter' => '',
|
||||
'filter' => '',
|
||||
'headerHtmlOptions'=>array(
|
||||
'class' => 'head0 sorting',
|
||||
),
|
||||
'cssClassExpression' => '"con0"',
|
||||
|
||||
),
|
||||
),
|
||||
'new_value' => array(
|
||||
'name' => 'new_value',
|
||||
'header' => Yii::t('intranet','Nuevo valor'),
|
||||
|
||||
39
www/protected/views/candidato/historial.php
Normal file
39
www/protected/views/candidato/historial.php
Normal file
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
$this->breadcrumbs=array(
|
||||
Yii::t('intranet', 'Candidatos')=>array('index'),
|
||||
$model->nombre . ' ' . $model->apellidos=>array('view','id'=>$model->id),
|
||||
Yii::t('intranet', 'Historial'),
|
||||
|
||||
);
|
||||
|
||||
$this->pageTitle=Yii::t('intranet', 'Candidato') . ' "' . $model->nombre . ' ' . $model->apellidos . '"';
|
||||
?>
|
||||
|
||||
|
||||
<div class="dataTables_wrapper">
|
||||
<div class="top">
|
||||
<div class="dataTables_length">
|
||||
<?php
|
||||
$this->widget('application.extensions.PageSize.PageSize', array(
|
||||
'mGridId' => 'audit-trail-grid',
|
||||
'mPageSize' => @$_GET['pageSize'],
|
||||
'mDefPageSize' => Yii::app()->params['defaultPageSize'],
|
||||
'mPageSizeOptions' => Yii::app()->params['pageSizeOptions'],
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="dataTables_filter">
|
||||
<label class="disabled">Buscar: <input type="text" disabled /></label>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
$this->widget(
|
||||
'application.components.HistorialWidget',
|
||||
array(
|
||||
'model' => $model,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user