#98: appli ext info/popup
This commit is contained in:
parent
f5c04d14fe
commit
76f14cb5b8
|
@ -85,6 +85,7 @@
|
|||
|
||||
Router::connect('/applicate/:id', array('controller' => 'job', 'action' => 'applicationSend'),array("id" => "[0-9]+"));
|
||||
Router::connect('/applicate/extern', array('controller' => 'job', 'action' => 'applicationSendExt'));
|
||||
Router::connect('/applicate/extern/info', array('controller' => 'job', 'action' => 'applicationSendExtInfo'));
|
||||
|
||||
Router::connect('/favorite', array('controller' => 'job', 'action' => 'favorite'));
|
||||
|
||||
|
|
|
@ -449,6 +449,13 @@ class JobController extends AppController {
|
|||
}
|
||||
}
|
||||
|
||||
public function applicationSendExtInfo() {
|
||||
$this->MiconwareSession->init($this);
|
||||
|
||||
$this->MiconwareSession->initWeb($this);
|
||||
$this->set('MENU_EXT_APP', true);
|
||||
$this->render('/Job/application_send_ext_info');
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<?php endif; ?>
|
||||
<li<?php if(isset($MENU_SERVICE)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.service'),array('controller'=>'service','action'=>'index'));?></li>
|
||||
<?php if(empty($COMPANY)): ?>
|
||||
<li<?php if(isset($MENU_EXT_APP)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.application.extern.to'),array('controller'=>'job','action'=>'applicationSendExt'));?></li>
|
||||
<li<?php if(isset($MENU_EXT_APP)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.application.extern.to'),array('controller'=>'job','action'=>'applicationSendExtInfo'),array("data-toggle"=>"modal","data-target"=>"#popup","ref"=>"eventOff"));?></li>
|
||||
<?php endif; ?>
|
||||
<?php if(!empty($isLoggedin)){ ?>
|
||||
<li><?=$this->Html->link(__('dreamjob.logout'),array('controller'=>'home','action'=>'logout'));?></li>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="box">
|
||||
<h3><?=__('dreamjob.my.application');?></h3>
|
||||
<span style="float: right;">
|
||||
<?=$this->Html->link('<span class="glyphicon glyphicon-send"></span> '.__('dreamjob.application.extern.to.doing'),array('controller'=>'job','action'=>'applicationSendExt'),array('class'=>'btn btn-default','escape'=>false));?>
|
||||
<?=$this->Html->link('<span class="glyphicon glyphicon-send"></span> '.__('dreamjob.application.extern.to.doing'),array('controller'=>'job','action'=>'applicationSendExtInfo'),array('class'=>'btn btn-default','escape'=>false));?>
|
||||
</span>
|
||||
|
||||
<div class="openinggroup">
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
/*
|
||||
*
|
||||
*/
|
||||
?>
|
||||
<div class="box 2modal">
|
||||
<h1 class="modal-title">Lola</h1>
|
||||
<br/>
|
||||
<div class="modal-body">
|
||||
<style>
|
||||
#popup .modal-header .close{
|
||||
display:none;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="modal-footer">
|
||||
<?php
|
||||
if(empty($isLoggedin))
|
||||
echo $this->Html->link(__('dreamjob.registration.to'),array('controller'=>'registration','action'=>'worker'),array('class'=>'btn btn-primary'));
|
||||
else
|
||||
echo $this->Html->link(__('dreamjob.application.extern.to'),array('controller'=>'job','action'=>'applicationSendExt'),array('class'=>'btn btn-primary'));
|
||||
?>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue