This commit is contained in:
Martin Müller 2014-09-24 16:47:37 +02:00
parent 98d88ab6d6
commit ce864c43ca
6 changed files with 35 additions and 3 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
/app/webroot/uploads/ /app/webroot/uploads/
/app/webroot/img/avatar/ /app/webroot/img/avatar/
/app/webroot/dreamjob/ /app/webroot/dreamjob/
/app/webroot/img/service/
/app/tmp /app/tmp
/lib/Cake/Console/Templates/skel/tmp/ /lib/Cake/Console/Templates/skel/tmp/
/plugins /plugins

View File

@ -420,7 +420,7 @@ class JobController extends AppController {
$Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']); $Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']);
$Email->template('job_application_ext'); $Email->template('job_application_ext');
$Email->viewVars(array('w'=>$w)); $Email->viewVars(array('w'=>$w));
$Email->attachments(array(__('dreamjob.applications.extern.filename.pdf')=>array('data' =>$pdf,'mimetype' => 'application/pdf'))); $Email->attachments(array(__('dreamjob.application.extern.filename.pdf')=>array('data' =>$pdf,'mimetype' => 'application/pdf')));
if ($Email->send()) { if ($Email->send()) {
$this->MiconwareSession->setFlash(__('dreamjob.application.send.success'), 'flash', array('alert' => 'success')); $this->MiconwareSession->setFlash(__('dreamjob.application.send.success'), 'flash', array('alert' => 'success'));

View File

@ -1220,6 +1220,32 @@ msgstr "Bewerbung"
msgid "dreamjob.application.extern.to.doing" msgid "dreamjob.application.extern.to.doing"
msgstr "extern bewerben" msgstr "extern bewerben"
#: View/Job/application_send.ctp:13
msgid "dreamjob.application.extern.info.title"
msgstr "dreamJOB Bewerbungs-Mailer"
#: View/Job/application_send.ctp:13
msgid "dreamjob.application.extern.info.bold"
msgstr "Überall bewerben,<br/>"
"mit dem dreamJOB Bewerbungs-Mailer"
#: View/Job/application_send.ctp:13
msgid "dreamjob.application.extern.info.text"
msgstr "Du bist bei uns nicht fündig geworden ?<br/>"
"Kein Problem !<br/>"
"Nutze jetzt den dreamJOB Bewerbungsmailer um dich auf Stellen zu bewerben, die du nicht auf dreamJOB gefunden hast.<br/>"
"Und bewerbe dich auf diese Stellen genauso einfach.<br/>"
"Du benötugst ledeglich die E-Mail des Unternehmen und die Anschrift.<br/>"
"<br/>"
"Du gibst oben die E-Mail des Unternehmen an,<br/>"
"trägst die Anschrift des Unternehmen ein<br/>"
"und schreibst wie gewohnt deine Bewerbung (Anschreiben)<br/>"
"Deckblatt,Lebenslauf und Anhänge werden wie sonst auch aus deinem Profil übernommen<br/>"
"und fertig<br/>"
"<br/>"
"Jetzt ausprobieren<br/>"
"und deinen dreamJOB finden"
#: View/Job/application_send.ctp:13 #: View/Job/application_send.ctp:13
msgid "dreamjob.application.extern.title" msgid "dreamjob.application.extern.title"
msgstr "Bewerbungs-Mailer" msgstr "Bewerbungs-Mailer"

View File

@ -4,7 +4,7 @@
*/ */
?> ?>
<div class="box 2modal"> <div class="box 2modal">
<h1 class="modal-title">Lola</h1> <h1 class="modal-title"><?=__('dreamjob.application.extern.info.title');?></h1>
<br/> <br/>
<div class="modal-body"> <div class="modal-body">
<style> <style>
@ -12,6 +12,11 @@
display:none; display:none;
} }
</style> </style>
<h3><?=__("dreamjob.application.extern.info.bold");?></h3>
<br/>
<?=$this->Html->image('applicationExtern.png');?>
<br/>
<?=__("dreamjob.application.extern.info.text");?>
</div> </div>
<br/> <br/>
<div class="modal-footer"> <div class="modal-footer">

View File

@ -108,7 +108,7 @@ foreach($application['Page'] as $page){
//$tcpdf->Output('filename.pdf','I'); //$tcpdf->Output('filename.pdf','I');
// TO Download // TO Download
echo $tcpdf->Output(__('dreamjob.applications.extern.filename.pdf'),'S'); echo $tcpdf->Output(__('dreamjob.application.extern.filename.pdf'),'S');
//return null; //return null;
//ob_start(); //ob_start();
?> ?>