Skip to content
Snippets Groups Projects
Commit b59516a0 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Sgmail integration

parent 5d2c36ee
No related branches found
No related tags found
No related merge requests found
<?php
return [
'extension_key' => 'sg_jobs',
'template_key' => 'application_mail',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:mail.application.description',
'subject' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:mail.application.subject',
'markers' => [
[
'marker' => 'jobtitle',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Webdeveloper',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.jobtitle'
],
[
'marker' => 'salutation',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Herr',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.salutation'
],
[
'marker' => 'firstname',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Max',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.firstname'
],
[
'marker' => 'lastname',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Mustermann',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.lastname'
],
[
'marker' => 'street',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Musterstrasse 16',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.street'
],
[
'marker' => 'zip',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => '99999',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.zip'
],
[
'marker' => 'country',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Deutschland',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.country'
],
[
'marker' => 'phone',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => '099-555 555',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.phone'
],
[
'marker' => 'mobile',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => '0199 - 55 5551',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.mobile'
],
[
'marker' => 'email',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'max.mustermann@example.org',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.email'
],
[
'marker' => 'message',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore...',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.message'
],
]
];
......@@ -9,6 +9,50 @@
<authorEmail>fabian@sgalinski.de</authorEmail>
</header>
<body>
<trans-unit id="application_mail.marker.country" approved="yes">
<source>Country</source>
<target>Land</target>
</trans-unit>
<trans-unit id="application_mail.marker.email" approved="yes">
<source>Email</source>
<target>E-Mail</target>
</trans-unit>
<trans-unit id="application_mail.marker.firstname" approved="yes">
<source>First name</source>
<target>Vorname</target>
</trans-unit>
<trans-unit id="application_mail.marker.jobtitle" approved="yes">
<source>Job title</source>
<target>Job-Titel</target>
</trans-unit>
<trans-unit id="application_mail.marker.lastname" approved="yes">
<source>Last name</source>
<target>Nachname</target>
</trans-unit>
<trans-unit id="application_mail.marker.message" approved="yes">
<source>Message</source>
<target>Bemerkungen</target>
</trans-unit>
<trans-unit id="application_mail.marker.mobile" approved="yes">
<source>Mobile</source>
<target>Mobil</target>
</trans-unit>
<trans-unit id="application_mail.marker.phone" approved="yes">
<source>Phone</source>
<target>Telefon</target>
</trans-unit>
<trans-unit id="application_mail.marker.salutation" approved="yes">
<source>Salutation</source>
<target>Anrede</target>
</trans-unit>
<trans-unit id="application_mail.marker.street" approved="yes">
<source>Street</source>
<target>Strasse</target>
</trans-unit>
<trans-unit id="application_mail.marker.zip" approved="yes">
<source>Zip</source>
<target>Plz</target>
</trans-unit>
<trans-unit id="backend.button_create" approved="yes">
<source>New</source>
<target>Neu</target>
......@@ -66,6 +110,10 @@
<source>Please select one of the following website roots:</source>
<target>Bitte wählen Sie eine der folgenden Seiten aus:</target>
</trans-unit>
<trans-unit id="frontend.apply.certificates" approved="yes">
<source>Certificates</source>
<target>Zeugnisse</target>
</trans-unit>
<trans-unit id="frontend.apply.city" approved="yes">
<source>City</source>
<target>Ort</target>
......@@ -74,6 +122,14 @@
<source>Country</source>
<target>Land</target>
</trans-unit>
<trans-unit id="frontend.apply.cover_letter" approved="yes">
<source>Cover letter</source>
<target>Motivationsschreiben</target>
</trans-unit>
<trans-unit id="frontend.apply.cv" approved="yes">
<source>CV</source>
<target>Lebenslauf</target>
</trans-unit>
<trans-unit id="frontend.apply.email" approved="yes">
<source>Email</source>
<target>E-Mail</target>
......
......@@ -9,6 +9,39 @@
<authorEmail>fabian@sgalinski.de</authorEmail>
</header>
<body>
<trans-unit id="application_mail.marker.country">
<source>Country</source>
</trans-unit>
<trans-unit id="application_mail.marker.email">
<source>Email</source>
</trans-unit>
<trans-unit id="application_mail.marker.firstname">
<source>First name</source>
</trans-unit>
<trans-unit id="application_mail.marker.jobtitle">
<source>Job title</source>
</trans-unit>
<trans-unit id="application_mail.marker.lastname">
<source>Last name</source>
</trans-unit>
<trans-unit id="application_mail.marker.message">
<source>Message</source>
</trans-unit>
<trans-unit id="application_mail.marker.mobile">
<source>Mobile</source>
</trans-unit>
<trans-unit id="application_mail.marker.phone">
<source>Phone</source>
</trans-unit>
<trans-unit id="application_mail.marker.salutation">
<source>Salutation</source>
</trans-unit>
<trans-unit id="application_mail.marker.street">
<source>Street</source>
</trans-unit>
<trans-unit id="application_mail.marker.zip">
<source>Zip</source>
</trans-unit>
<trans-unit id="backend.button_create">
<source>New</source>
</trans-unit>
......@@ -51,12 +84,21 @@
<trans-unit id="backend.selectRootPage">
<source>Please select one of the following website roots:</source>
</trans-unit>
<trans-unit id="frontend.apply.certificates">
<source>Certificates</source>
</trans-unit>
<trans-unit id="frontend.apply.city">
<source>City</source>
</trans-unit>
<trans-unit id="frontend.apply.country">
<source>Country</source>
</trans-unit>
<trans-unit id="frontend.apply.cover_letter">
<source>Cover letter</source>
</trans-unit>
<trans-unit id="frontend.apply.cv">
<source>CV</source>
</trans-unit>
<trans-unit id="frontend.apply.email">
<source>Email</source>
</trans-unit>
......
<f:layout name="Default" />
<f:section name="main">
<f:form action="apply" controller="Joblist" method="post" objectName="applyData" object="{applyData}">
<f:form action="apply" controller="Joblist" method="post" objectName="applyData" object="{applyData}" enctype="multipart/form-data">
<label for="apply-jobTitle"><f:translate key="frontend.apply.title" /></label>
<f:form.textfield property="jobTitle" id="apply-jobTitle" data="{}" class="" />
<br />
<label for="apply-salutation"><f:translate key="frontend.apply.salutation" /></label>
<f:form.textfield property="salutation" id="apply-salutation" data="{}" class="" />
<br />
<label for="apply-firstName"><f:translate key="frontend.apply.first_name" /></label>
<f:form.textfield property="firstName" id="apply-firstName" data="{}" class="" />
<br />
<label for="apply-lastName"><f:translate key="frontend.apply.last_name" /></label>
<f:form.textfield property="lastName" id="apply-lastName" data="{}" class="" />
<br />
<label for="apply-street"><f:translate key="frontend.apply.street" /></label>
<f:form.textfield property="street" id="apply-street" data="{}" class="" />
<br />
<label for="apply-city"><f:translate key="frontend.apply.city" /></label>
<f:form.textfield property="street" id="apply-city" data="{}" class="" />
<br />
<label for="apply-zip"><f:translate key="frontend.apply.zip" /></label>
<f:form.textfield property="zip" id="apply-zip" data="{}" class="" />
<br />
<label for="apply-country"><f:translate key="frontend.apply.country" /></label>
<f:form.textfield property="country" id="apply-country" data="{}" class="" />
<br />
<label for="apply-phone"><f:translate key="frontend.apply.phone" /></label>
<f:form.textfield property="phone" id="apply-phone" data="{}" class="" />
<br />
<label for="apply-mobile"><f:translate key="frontend.apply.mobile" /></label>
<f:form.textfield property="mobile" id="apply-mobile" data="{}" class="" />
<br />
<label for="apply-email"><f:translate key="frontend.apply.email" /></label>
<f:form.textfield property="email" id="apply-email" data="{}" class="" />
<br />
<label for="apply-cover-letter"><f:translate key="frontend.apply.cover_letter" /></label>
<f:form.upload property="coverLetter" id="apply-cover-letter" />
<br />
<label for="apply-cv"><f:translate key="frontend.apply.cv" /></label>
<f:form.upload property="cv" id="apply-cv" />
<br />
<label for="apply-certificates"><f:translate key="frontend.apply.certificates" /></label>
<f:form.upload property="certificates" id="apply-certificates" />
<br />
<label for="apply-message"><f:translate key="frontend.apply.message" /></label>
<f:form.textarea property="message" id="apply-message" data="{}" class="" />
<br />
<f:form.submit value="{f:translate(key:'frontend.applyNow')}" />
</f:form>
</f:section>
......@@ -10,7 +10,7 @@
],
[
// Uncacheable actions
'Joblist' => ''
'Joblist' => 'apply'
]
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment