From 12547f0e36569c90e8675bba45eeb5505085ac6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Thu, 11 Sep 2014 01:28:55 +0200 Subject: [PATCH] Externe Bewerbung --- app/Controller/JobController.php | 4 ++-- app/Locale/default.pot | 12 ++++++++++++ app/Locale/deu/LC_MESSAGES/default.mo | Bin 16262 -> 16452 bytes app/Locale/deu/LC_MESSAGES/default.po | 11 +++++++++++ app/View/Emails/html/job_application_ext.ctp | 10 ++++++++++ app/View/Emails/text/job_application_ext.ctp | 10 ++++++++++ app/View/Job/applicationWorker_list.ctp | 4 ++++ 7 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 app/View/Emails/html/job_application_ext.ctp create mode 100644 app/View/Emails/text/job_application_ext.ctp diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php index 77209f5..53f9b32 100644 --- a/app/Controller/JobController.php +++ b/app/Controller/JobController.php @@ -416,8 +416,8 @@ class JobController extends AppController { $Email->to($this->request->data['DreamjobUser']['mail']); $Email->bcc(array($w['User']['mail'])); - $Email->subject(__('dreamjob.application.extern')); - $Email->template('simple_message'); + $Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']); + $Email->template('job_application_ext.ctp'); $Email->viewVars(array('data'=>'test')); $Email->attachments(array('filename.pdf'=>array('data' =>$pdf,'mimetype' => 'application/pdf'))); diff --git a/app/Locale/default.pot b/app/Locale/default.pot index d05fbad..a595ba5 100644 --- a/app/Locale/default.pot +++ b/app/Locale/default.pot @@ -713,6 +713,18 @@ msgstr "" msgid "dreamjob.application.form" msgstr "" +#: View/Job/application_send.ctp:13 +msgid "dreamjob.application.extern" +msgstr "" + +#: View/Job/application_send.ctp:13 +msgid "dreamjob.application.extern.to" +msgstr "" + +#: View/Job/application_send.ctp:13 +msgid "dreamjob.application.receiver" +msgstr "" + #: View/Job/application_send.ctp:27 msgid "dreamjob.opening.subject.placeholder" msgstr "" diff --git a/app/Locale/deu/LC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WbQ~wMaz1Tpf!U*&SWHDNa&1eVSjr)%v zzoOv=o{tsCL7#mtR>6+wThbT(C7h1F6${ZHpnS~0!)OPK5;VHfxPqS8wr%Q$qtKpD zM0+|Tnisb}gqHeA?1sybrxs42bD~_k)QwxA6&{9mbQ)UON8$2j!; zT#WueY(hu=8d`~bw3G$tg)gJC{3_PMGQ3lTn2nbDGvucrl;qX2W4Y)g?uJ%w6qfb< zpG3owOpOQ3Ku5F$oiuCFNmGE9@Gv^UQ&OIQa>c1fL|g&x-&o#nac zqw9$dY%p5sS?FPWK~>0 zhj!9|4ksUxt>ic4VW0ocXgJ|^5tm-Xaye`FkZI&i;r*p(N!NvQB5By?TLtk_v415XiXgX-9h{ZGPXD2DRPk9PL`2pNkj4k zsYhJKr$~O!;QMjH+Z!&CO2p-5vO6_?{=l&EJ@PU6A-R6xcO@Jm70Equ$I$2)yoF@O z^_|!{w%>}5#k%Botq9Q`86pX z%pBSm-NouK5~>iO-7KH$c^MIxtq8= zMGhoe{3iwn$95Y2inJx=$ZI5ne0OGFn!S@7_(w=|GX9)ANsf@!WC&?SikAmtV;^R3 en^3h)$)(4tZQ8b~`t0gUJ2rc1+vR2>tNb580pZO6 diff --git a/app/Locale/deu/LC_MESSAGES/default.po b/app/Locale/deu/LC_MESSAGES/default.po index f536b5b..5cd0c44 100644 --- a/app/Locale/deu/LC_MESSAGES/default.po +++ b/app/Locale/deu/LC_MESSAGES/default.po @@ -1199,3 +1199,14 @@ msgstr "" #~ msgid "register" #~ msgstr "registrieren" +#: View/Job/application_send.ctp:13 +msgid "dreamjob.application.extern" +msgstr "Bewerbung" + +#: View/Job/application_send.ctp:13 +msgid "dreamjob.application.extern.to" +msgstr "Bewerbungs-Tool" + +#: View/Job/application_send.ctp:13 +msgid "dreamjob.application.receiver" +msgstr "Empfänger" diff --git a/app/View/Emails/html/job_application_ext.ctp b/app/View/Emails/html/job_application_ext.ctp new file mode 100644 index 0000000..fab2204 --- /dev/null +++ b/app/View/Emails/html/job_application_ext.ctp @@ -0,0 +1,10 @@ +

Sehr geehrte Damen und Herren,

+anbei sende ich Ihnen meine Bewerbungsunterlagen

+Mit freundlichen Grüßen
+

+ +

Bitte antworten Sie mir unter folgender E-Mail:
+

+ +

Diese Bewerbung wurde über dreamJOB versendet.
+Jetzt kostenlos und bequem dreamJOB testen und Stellen ausschreiben auf www.dream-JOB.eu

diff --git a/app/View/Emails/text/job_application_ext.ctp b/app/View/Emails/text/job_application_ext.ctp new file mode 100644 index 0000000..b939dcb --- /dev/null +++ b/app/View/Emails/text/job_application_ext.ctp @@ -0,0 +1,10 @@ +Sehr geehrte Damen und Herren, +anbei sende ich Ihnen meine Bewerbungsunterlagen +Mit freundlichen Grüßen + + +Bitte antworten Sie mir unter folgender E-Mail: + + +Diese Bewerbung wurde über dreamJOB versendet. +Jetzt kostenlos und bequem dreamJOB testen und Stellen ausschreiben auf http://www.dream-JOB.eu diff --git a/app/View/Job/applicationWorker_list.ctp b/app/View/Job/applicationWorker_list.ctp index 8e52692..53ca887 100644 --- a/app/View/Job/applicationWorker_list.ctp +++ b/app/View/Job/applicationWorker_list.ctp @@ -5,6 +5,10 @@ ?>

+ + Html->link('  '.__('dreamjob.application.extern.to'),array('controller'=>'job','action'=>'applicationSendExt'),array('class'=>'btn btn-default','escape'=>false));?> + +