Tarea #1142 -> Cambiar en los breadcrumbs "tablero" por "home"
git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@70 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
This commit is contained in:
parent
723c1aa190
commit
df44a12017
@ -13,7 +13,7 @@ class SiteController extends Controller {
|
|||||||
'users' => array('*')
|
'users' => array('*')
|
||||||
),
|
),
|
||||||
array('allow',
|
array('allow',
|
||||||
'actions' => array('logout'),
|
'actions' => array('logout', 'index'),
|
||||||
'users' => array('@')
|
'users' => array('@')
|
||||||
),
|
),
|
||||||
array('deny'),
|
array('deny'),
|
||||||
|
|||||||
@ -73,26 +73,6 @@ class Candidato extends CActiveRecord {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCssClassEstado() {
|
|
||||||
return "estado" . array_search($this->id_estado, $this->opcionesEstado);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Devuelve la lista de estados permitidos para un candidato.
|
|
||||||
* @return array lista de estados permitidos
|
|
||||||
*/
|
|
||||||
public function getOpcionesEstado() {
|
|
||||||
return array(
|
|
||||||
0 => '510',
|
|
||||||
1 => '511',
|
|
||||||
2 => '520',
|
|
||||||
3 => '530',
|
|
||||||
4 => '540',
|
|
||||||
5 => '560',
|
|
||||||
6 => '600',
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the static model of the specified AR class.
|
* Returns the static model of the specified AR class.
|
||||||
* @param string $className active record class name.
|
* @param string $className active record class name.
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @var $this CandidatoController
|
||||||
|
*/
|
||||||
$this->pageTitle = Yii::t('profind', 'Nuevo candidato');
|
$this->pageTitle = Yii::t('profind', 'Nuevo candidato');
|
||||||
|
|
||||||
$this->breadcrumbs = array(
|
$this->breadcrumbs = array(
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @var $this CandidatoController
|
||||||
|
*/
|
||||||
|
|
||||||
$this->pageTitle = Yii::t('profind', 'BD Candidatos');
|
$this->pageTitle = Yii::t('profind', 'BD Candidatos');
|
||||||
|
|
||||||
@ -11,7 +14,6 @@
|
|||||||
|
|
||||||
// Contenido
|
// Contenido
|
||||||
//echo $this->renderPartial('_form', array('model' => $model));
|
//echo $this->renderPartial('_form', array('model' => $model));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @var $this CandidatoController
|
||||||
|
*/
|
||||||
$this->pageTitle = Yii::t('profind', 'Modificación de candidato');
|
$this->pageTitle = Yii::t('profind', 'Modificación de candidato');
|
||||||
|
|
||||||
$this->breadcrumbs = array(
|
$this->breadcrumbs = array(
|
||||||
|
|||||||
@ -124,7 +124,7 @@
|
|||||||
<?php if (isset($this->breadcrumbs)): ?>
|
<?php if (isset($this->breadcrumbs)): ?>
|
||||||
<?php
|
<?php
|
||||||
$this->widget('zii.widgets.CBreadcrumbs', array(
|
$this->widget('zii.widgets.CBreadcrumbs', array(
|
||||||
'homeLink' => CHtml::link(Yii::t('intranet', 'Tablero'), array('/site/index')),
|
'homeLink' => CHtml::link(Yii::t('intranet', 'Home'), array('/site/index')),
|
||||||
'tagName' => 'ul',
|
'tagName' => 'ul',
|
||||||
'links' => $this->breadcrumbs,
|
'links' => $this->breadcrumbs,
|
||||||
'activeLinkTemplate' => '<li><a href="{url}">{label}</a></li>',
|
'activeLinkTemplate' => '<li><a href="{url}">{label}</a></li>',
|
||||||
|
|||||||
15
www/themes/profind/views/site/index.php
Normal file
15
www/themes/profind/views/site/index.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @var $this SiteController
|
||||||
|
*/
|
||||||
|
|
||||||
|
$this->pageTitle = Yii::app()->name;
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="hero-unit">
|
||||||
|
<h1>Bienvenido a <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>
|
||||||
|
<p>La herramienta de los Agentes de Selección de personal informático.</p>
|
||||||
|
<p>Con PROFIND publica tu oferta en milésimas de segundo a las principales redes sociales, grupos, páginas, listas y portales de empleo web alcanzando a cientos, miles de personas..., y entre ellas el Candidato que buscas. </p>
|
||||||
|
<p><a class="btn btn-primary btn-large">Ver más »</a></p>
|
||||||
|
</div>
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user