Opening ende
This commit is contained in:
parent
09cb5961cf
commit
88ecf412f7
|
@ -86,7 +86,7 @@ class UserController extends AppController {
|
||||||
$this->set('page',$page);
|
$this->set('page',$page);
|
||||||
if(!$hard_error)
|
if(!$hard_error)
|
||||||
if($company){
|
if($company){
|
||||||
$openings = $this->DreamjobJobOpening->find('all',array('conditions' => array('DreamjobJobOpening.company_id' => $profil['AppUser']['id'])));
|
$openings = $this->DreamjobJobOpening->find('all',array('conditions' => array('DreamjobJobOpening.company_id' => $profil['AppUser']['id'],'DreamjobJobOpening.active'=>1)));
|
||||||
$this->set("openings",$openings);
|
$this->set("openings",$openings);
|
||||||
$this->render('/User/company');
|
$this->render('/User/company');
|
||||||
}else
|
}else
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<div class="box">
|
||||||
|
|
||||||
|
</div>
|
|
@ -12,7 +12,7 @@
|
||||||
<div>
|
<div>
|
||||||
<span><?=$this->Html->link(__('dreamjob.company.to'),array('controller'=>'user','action'=>'profil','id'=>$opening['AppUser']['id']));?></span>
|
<span><?=$this->Html->link(__('dreamjob.company.to'),array('controller'=>'user','action'=>'profil','id'=>$opening['AppUser']['id']));?></span>
|
||||||
<?php
|
<?php
|
||||||
if(is_array($WORKER) and count($WORKER) > 0){
|
if(isset($WORKER) and is_array($WORKER) and count($WORKER) > 0){
|
||||||
?>
|
?>
|
||||||
<span style="float: right;">
|
<span style="float: right;">
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue