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