Externe Bewerbung

This commit is contained in:
Martin Müller 2014-09-11 01:28:55 +02:00
parent 36f8d791ef
commit 12547f0e36
7 changed files with 49 additions and 2 deletions

View File

@ -416,8 +416,8 @@ class JobController extends AppController {
$Email->to($this->request->data['DreamjobUser']['mail']); $Email->to($this->request->data['DreamjobUser']['mail']);
$Email->bcc(array($w['User']['mail'])); $Email->bcc(array($w['User']['mail']));
$Email->subject(__('dreamjob.application.extern')); $Email->subject('Bewerbung von '. $w['AppUser']['first_name'] .' '. $w['AppUser']['last_name']);
$Email->template('simple_message'); $Email->template('job_application_ext.ctp');
$Email->viewVars(array('data'=>'test')); $Email->viewVars(array('data'=>'test'));
$Email->attachments(array('filename.pdf'=>array('data' =>$pdf,'mimetype' => 'application/pdf'))); $Email->attachments(array('filename.pdf'=>array('data' =>$pdf,'mimetype' => 'application/pdf')));

View File

@ -713,6 +713,18 @@ msgstr ""
msgid "dreamjob.application.form" msgid "dreamjob.application.form"
msgstr "" 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 #: View/Job/application_send.ctp:27
msgid "dreamjob.opening.subject.placeholder" msgid "dreamjob.opening.subject.placeholder"
msgstr "" msgstr ""

View File

@ -1199,3 +1199,14 @@ msgstr ""
#~ msgid "register" #~ msgid "register"
#~ msgstr "registrieren" #~ 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"

View File

@ -0,0 +1,10 @@
<p>Sehr geehrte Damen und Herren,</br> </br>
anbei sende ich Ihnen meine Bewerbungsunterlagen</br></br>
Mit freundlichen Gr&uuml;&szlig;en</br>
<?=$w['AppUser']['first_name'].' '.$w['AppUser']['last_name'];?></p>
<p style="font-weight:bold;">Bitte antworten Sie mir unter folgender E-Mail:</br>
<a style="color:black;" href="mailto:<?=$['User']['mail'];?>"><?=$w['User']['mail'];?></a></p>
<p style="font-style:italic; color:#0073b8;">Diese Bewerbung wurde &uumlber dreamJOB versendet.</br>
Jetzt kostenlos und bequem dreamJOB testen und Stellen ausschreiben auf <a style="color:#0073b8;" href="http://dream-job.eu">www.dream-JOB.eu</a></p>

View File

@ -0,0 +1,10 @@
Sehr geehrte Damen und Herren,
anbei sende ich Ihnen meine Bewerbungsunterlagen
Mit freundlichen Grüßen
<?=$w['AppUser']['first_name'].' '.$w['AppUser']['last_name'];?>
Bitte antworten Sie mir unter folgender E-Mail:
<?=$w['User']['mail'];?>
Diese Bewerbung wurde über dreamJOB versendet.
Jetzt kostenlos und bequem dreamJOB testen und Stellen ausschreiben auf http://www.dream-JOB.eu

View File

@ -5,6 +5,10 @@
?> ?>
<div class="box"> <div class="box">
<h3><?=__('dreamjob.my.application');?></h3> <h3><?=__('dreamjob.my.application');?></h3>
<span style="float: right;">
<?=$this->Html->link('<span class="glyphicon glyphicon-send"></span>&nbsp; '.__('dreamjob.application.extern.to'),array('controller'=>'job','action'=>'applicationSendExt'),array('class'=>'btn btn-default','escape'=>false));?>
</span>
<div class="openinggroup"> <div class="openinggroup">
<?php <?php
foreach($applications as $opening){ foreach($applications as $opening){