This commit is contained in:
Martin Müller 2014-05-06 18:12:23 +02:00
parent 09cc7ca117
commit 885fe6319b
2 changed files with 12 additions and 2 deletions

View File

@ -344,9 +344,9 @@ class JobController extends AppController {
$this->request->data['DreamjobJobApplicationPage'][]=array('page_id'=> $id);
$result = $this->DreamjobJobApplication->sendApplication($this->request->data);
if ($result) {
$this->MiconwareSession->setFlash(__('dreamjob.opening.save.add'),'flash',array('alert'=>'success'));
$this->MiconwareSession->setFlash(__('dreamjob.application.send'),'flash',array('alert'=>'success'));
}else{
$this->MiconwareSession->setFlash(__('dreamjob.opening.save.error'),'flash',array('alert'=>'danger'));
$this->MiconwareSession->setFlash(__('dreamjob.application.send.error'),'flash',array('alert'=>'danger'));
}
}else{
$this->MiconwareSession->setFlash(__('dreamjob.agb.error.notAccept'),'flash',array('alert'=>'danger'));

View File

@ -1124,6 +1124,16 @@ msgid "dreamjob.contactSend.error"
msgstr ""
#
msgid "dreamjob.application.send.sucess"
msgstr ""
#
msgid "dreamjob.application.send.error"
msgstr ""
#
# Generierte Fehlermeldungen eigenarbeit!