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 [ ...@@ -7,73 +7,73 @@ return [
'subject' => 'Eine neue Bewerbung', 'subject' => 'Eine neue Bewerbung',
'markers' => [ 'markers' => [
[ [
'marker' => 'jobtitle', 'marker' => 'application.jobTitle',
'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Webdeveloper', 'value' => 'Webdeveloper',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.jobtitle' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Herr', 'value' => '0',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.salutation' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Max', 'value' => 'Max',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.firstname' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Mustermann', 'value' => 'Mustermann',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.lastname' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Musterstrasse 16', 'value' => 'Musterstrasse 16',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.street' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => '99999', 'value' => '99999',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.zip' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'München', 'value' => 'München',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.city' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Deutschland', 'value' => 'Deutschland',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.country' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => '099-555 555', 'value' => '099-555 555',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.phone' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => '0199 - 55 5551', 'value' => '0199 - 55 5551',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.mobile' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'max.mustermann@example.org', 'value' => 'max.mustermann@example.org',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.email' '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, 'type' => \SGalinski\SgMail\Service\MailTemplateService::MARKER_TYPE_STRING,
'value' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore...', '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' 'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:application_mail.marker.message'
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
<source>First name</source> <source>First name</source>
<target>Vorname</target> <target>Vorname</target>
</trans-unit> </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"> <trans-unit id="application_mail.marker.jobtitle" approved="yes">
<source>Job title</source> <source>Job title</source>
<target>Job-Titel</target> <target>Job-Titel</target>
......
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
<source>City</source> <source>City</source>
<target>Stadt</target> <target>Stadt</target>
</trans-unit> </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"> <trans-unit id="tca.qualification_tab" approved="yes">
<source>Qualification &amp; Tasks</source> <source>Qualification &amp; Tasks</source>
<target>Qualifikation &amp; Aufgaben</target> <target>Qualifikation &amp; Aufgaben</target>
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
<trans-unit id="application_mail.marker.firstname"> <trans-unit id="application_mail.marker.firstname">
<source>First name</source> <source>First name</source>
</trans-unit> </trans-unit>
<trans-unit id="application_mail.marker.gender">
<source>Gender</source>
</trans-unit>
<trans-unit id="application_mail.marker.jobtitle"> <trans-unit id="application_mail.marker.jobtitle">
<source>Job title</source> <source>Job title</source>
</trans-unit> </trans-unit>
......
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
<trans-unit id=":tx_sgjobs_domain_model_contact.city"> <trans-unit id=":tx_sgjobs_domain_model_contact.city">
<source>City</source> <source>City</source>
</trans-unit> </trans-unit>
<trans-unit id="application_mail.marker.gender">
<source>Gender</source>
</trans-unit>
<trans-unit id="tca.qualification_tab"> <trans-unit id="tca.qualification_tab">
<source>Qualification &amp; Tasks</source> <source>Qualification &amp; Tasks</source>
</trans-unit> </trans-unit>
......
Eine neue Bewerbung Eine neue Bewerbung als <b>{application.jobTitle}</b>.
Geschlecht: {salutation} Geschlecht: {f:if(condition: '{application.gender} == \'0\'', then: 'männlich', else: 'weiblich')}
Job Titel: {jobtitle}
Vorname: {firstname} Vorname: {application.firstName}
Nachname: {lastname}
Strasse: {street} Nachname: {application.lastName}
Postleitzahl: {zip}
Ort: {city} Strasse: {application.street}
Land: {country}
Telefon: {phone} Postleitzahl: {application.zip}
Mobil: {mobile}
E-Mail Adresse: {email} Ort: {application.city}
Nachricht: {message}
\ No newline at end of file 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