icon
|
@ -160,5 +160,20 @@ class JobController extends AppController {
|
|||
$this->render('/Job/favorite');
|
||||
}
|
||||
}
|
||||
public function applicationList() {
|
||||
$this->MiconwareSession->init($this);
|
||||
|
||||
$this->MiconwareSession->initWeb($this);
|
||||
$self = $this->MiconwareSession->getWorker();
|
||||
|
||||
if(!is_array($self) and count($self) <= 0){
|
||||
$this->set('error', 'dreamjob.error.noPermision');
|
||||
$this->render('/Home/error');
|
||||
}else{
|
||||
$openings = $this->DreamjobJobOpening->find('all',array('conditions' => array('DreamjobJobOpening.company_id' => $self['AppUser']['id'])));
|
||||
$this->set('openings',$openings);
|
||||
$this->render('/Job/applicateWorker_list');
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
/*
|
||||
*
|
||||
*/
|
||||
?>
|
||||
<div class="box">
|
||||
<h3><?=__('dreamjob.my.application');?></h3>
|
||||
<div class="openinggroup">
|
||||
<?php
|
||||
foreach($openings as $opening){
|
||||
echo $this->element('job_opening_item',array('opening' => $opening));
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.7 KiB |