suche erste schritte
This commit is contained in:
parent
adf05c8a06
commit
7d793f0bca
|
@ -60,6 +60,8 @@
|
||||||
|
|
||||||
Router::connect('/favorite', array('controller' => 'job', 'action' => 'favorite'));
|
Router::connect('/favorite', array('controller' => 'job', 'action' => 'favorite'));
|
||||||
|
|
||||||
|
Router::connect('/search', array('controller' => 'search', 'action' => 'listopening'));
|
||||||
|
|
||||||
Router::connect('/test/', array('controller' => 'user', 'action' => 'test'));
|
Router::connect('/test/', array('controller' => 'user', 'action' => 'test'));
|
||||||
|
|
||||||
Router::parseExtensions('json');
|
Router::parseExtensions('json');
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
$DreamjobUser = 'DreamjobUser';
|
$DreamjobUser = 'DreamjobUser';
|
||||||
$AppUser = 'AppUser';
|
$AppUser = 'AppUser';
|
||||||
$DreamjobListGraducation = 'DreamjobListGraducation';
|
$DreamjobListGraducation = 'DreamjobListGraducation';
|
||||||
if($enableOpening){
|
if(isset($enableOpening) and $enableOpening){
|
||||||
$User = 'WorkerUser';
|
$User = 'WorkerUser';
|
||||||
$DreamjobUser = 'DreamjobUserWorker';
|
$DreamjobUser = 'DreamjobUserWorker';
|
||||||
$AppUser = 'AppUserWorker';
|
$AppUser = 'AppUserWorker';
|
||||||
|
@ -43,14 +43,14 @@
|
||||||
<?php if($profil['DreamjobWorker']['workexperience']){ ?>
|
<?php if($profil['DreamjobWorker']['workexperience']){ ?>
|
||||||
<span><?=__('dreamjob.workexperience').': '.$profil['DreamjobWorker']['workexperience'].' ',__('dreamjob.years');?></span>
|
<span><?=__('dreamjob.workexperience').': '.$profil['DreamjobWorker']['workexperience'].' ',__('dreamjob.years');?></span>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if($enableOpening){ ?>
|
<?php if(isset($enableOpening) and $enableOpening){ ?>
|
||||||
<span><?=$this->Time->format('d.m.Y H:i', $profil['DreamjobJobApplication']['created']);?></span>
|
<span><?=$this->Time->format('d.m.Y H:i', $profil['DreamjobJobApplication']['created']);?></span>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<div class="btn-group-vertical">
|
<div class="btn-group-vertical">
|
||||||
<?php
|
<?php
|
||||||
if($enableOpening){
|
if(isset($enableOpening) and $enableOpening){
|
||||||
$status = 'dreamjob.application.close';
|
$status = 'dreamjob.application.close';
|
||||||
$statusApp = null;
|
$statusApp = null;
|
||||||
$archiv = array("archiv"=> $profil['DreamjobJobApplication']['id']);
|
$archiv = array("archiv"=> $profil['DreamjobJobApplication']['id']);
|
||||||
|
@ -70,6 +70,8 @@
|
||||||
}
|
}
|
||||||
echo $this->Html->link(__($status),array('controller'=>'job', 'action'=>'applicationByOpening', 'id'=> $profil['DreamjobJobApplication']['opening_id'],'?'=>$archiv),array("class" => "btn btn-default",'escape' => true));
|
echo $this->Html->link(__($status),array('controller'=>'job', 'action'=>'applicationByOpening', 'id'=> $profil['DreamjobJobApplication']['opening_id'],'?'=>$archiv),array("class" => "btn btn-default",'escape' => true));
|
||||||
echo $this->Html->link($statusApp,array('controller'=>'job', 'action'=>'applicationGet', 'id'=> $profil['DreamjobJobApplication']['id']),array("class" => "btn btn-default",'escape' => true));
|
echo $this->Html->link($statusApp,array('controller'=>'job', 'action'=>'applicationGet', 'id'=> $profil['DreamjobJobApplication']['id']),array("class" => "btn btn-default",'escape' => true));
|
||||||
|
}else{
|
||||||
|
echo $this->Html->link(__('dreamjob.details'),array('controller'=>'user', 'action'=>'profil', 'id'=> $profil[$AppUser]['id']),array("class" => "btn btn-default"));
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,7 +44,9 @@ ALTER TABLE `mic_dj_jobs_opening_worker`
|
||||||
|
|
||||||
|
|
||||||
-- ACHTUNG:
|
-- ACHTUNG:
|
||||||
|
update `mic_dj_account_cmpy` left join `mic_dj_list_branch` on `name`=`branch` set `branch`=`mic_dj_list_branch`.`id`;
|
||||||
ALTER TABLE `mic_dj_account_cmpy` CHANGE `branch` `branch_id` INT(11) NOT NULL;
|
ALTER TABLE `mic_dj_account_cmpy` CHANGE `branch` `branch_id` INT(11) NOT NULL;
|
||||||
|
update `mic_dj_jobs_opening` left join `mic_dj_list_branch` on `name`=`branch` set `branch`=`mic_dj_list_branch`.`id`;
|
||||||
ALTER TABLE `mic_dj_jobs_opening` CHANGE `branch` `branch_id` INT(11) NOT NULL;
|
ALTER TABLE `mic_dj_jobs_opening` CHANGE `branch` `branch_id` INT(11) NOT NULL;
|
||||||
-- LOLA
|
-- LOLA
|
||||||
update `mic_dj_account_isearch` left join `mic_dj_list_job` on `name`=`job` set `job`=`mic_dj_list_job`.`id`
|
update `mic_dj_account_isearch` left join `mic_dj_list_job` on `name`=`job` set `job`=`mic_dj_list_job`.`id`
|
||||||
|
|
Loading…
Reference in New Issue