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

[TASk] Fix sg mail template

parent 5d82a7b1
No related branches found
No related tags found
No related merge requests found
......@@ -7,73 +7,73 @@ return [
'subject' => 'Eine neue Bewerbung',
'markers' => [
[
'marker' => 'jobtitle',
'marker' => 'application.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',
'marker' => 'application.gender',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Herr',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.salutation'
'value' => '0',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.gender'
],
[
'marker' => 'firstname',
'marker' => 'application.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',
'marker' => 'application.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',
'marker' => 'application.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',
'marker' => 'application.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' => 'city',
'marker' => 'application.city',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'München',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.city'
],
[
'marker' => 'country',
'marker' => 'application.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',
'marker' => 'application.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',
'marker' => 'application.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',
'marker' => 'application.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',
'marker' => 'application.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'
......
......@@ -25,6 +25,10 @@
<source>First name</source>
<target>Vorname</target>
</trans-unit>
<trans-unit id="application_mail.marker.gender" approved="yes">
<source>Gender</source>
<target>Geschlecht</target>
</trans-unit>
<trans-unit id="application_mail.marker.jobtitle" approved="yes">
<source>Job title</source>
<target>Job-Titel</target>
......
......@@ -13,6 +13,10 @@
<source>City</source>
<target>Stadt</target>
</trans-unit>
<trans-unit id="application_mail.marker.gender" approved="yes">
<source>Gender</source>
<target>Geschlecht</target>
</trans-unit>
<trans-unit id="tca.qualification_tab" approved="yes">
<source>Qualification &amp; Tasks</source>
<target>Qualifikation &amp; Aufgaben</target>
......
......@@ -21,6 +21,9 @@
<trans-unit id="application_mail.marker.firstname">
<source>First name</source>
</trans-unit>
<trans-unit id="application_mail.marker.gender">
<source>Gender</source>
</trans-unit>
<trans-unit id="application_mail.marker.jobtitle">
<source>Job title</source>
</trans-unit>
......
......@@ -12,6 +12,9 @@
<trans-unit id=":tx_sgjobs_domain_model_contact.city">
<source>City</source>
</trans-unit>
<trans-unit id="application_mail.marker.gender">
<source>Gender</source>
</trans-unit>
<trans-unit id="tca.qualification_tab">
<source>Qualification &amp; Tasks</source>
</trans-unit>
......
Eine neue Bewerbung
Geschlecht: {salutation}
Job Titel: {jobtitle}
Vorname: {firstname}
Nachname: {lastname}
Strasse: {street}
Postleitzahl: {zip}
Ort: {city}
Land: {country}
Telefon: {phone}
Mobil: {mobile}
E-Mail Adresse: {email}
Nachricht: {message}
\ No newline at end of file
Eine neue Bewerbung als <b>{application.jobTitle}</b>.
Geschlecht: {f:if(condition: '{application.gender} == \'0\'', then: 'männlich', else: 'weiblich')}
Vorname: {application.firstName}
Nachname: {application.lastName}
Strasse: {application.street}
Postleitzahl: {application.zip}
Ort: {application.city}
Land: {application.country}
Telefon: {application.phone}
Mobil: {application.mobile}
E-Mail Adresse: {application.email}
Nachricht: {application.message}
\ No newline at end of file
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