Skip to content
Snippets Groups Projects
Commit 8aec31f4 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

Merge branch 'master' of gitlab.sgalinski.de:typo3/sg_jobs

parents ea0dffc7 26683c9e
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,42 @@ return [ ...@@ -5,6 +5,42 @@ return [
'template_key' => 'application_mail', 'template_key' => 'application_mail',
'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:mail.application.description', 'description' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang.xlf:mail.application.description',
'subject' => 'Eine neue Bewerbung', 'subject' => 'Eine neue Bewerbung',
'templateContent' => <<<EOT
Eine neue {f:if(condition: '{application.jobTitle}', then: 'Bewerbung als <b>{application.jobTitle}</b> für den Standort <b>{application.company.city}</b>.', else: 'Initiativbewerbung für den Standort <b>{application.company.city}</b>.')}
Geschlecht: {f:if(condition: '{application.gender} == \'Female\'', then: 'weiblich', else: 'männlich')}
Vorname: {application.firstName}
Nachname: {application.lastName}
Geburtsdatum: {application.birthDate}
Straße: {application.street}
Postleitzahl: {application.zip}
Ort: {application.city}
Land: {application.country}
Nationalität: {application.nationality}
Telefon: {application.phone}
Mobil: {application.mobile}
E-Mail-Adresse: {application.email}
Höchster Bildungsstand: {application.education}
Nachricht:
{application.message}
{f:if(condition: '{application.privacyPolicy}', then: 'Die Datenschutzvereinbarung wurde aktzeptiert.')}
EOT
,
'markers' => [ 'markers' => [
[ [
'marker' => 'application.jobTitle', 'marker' => 'application.jobTitle',
......
...@@ -133,7 +133,7 @@ return [ ...@@ -133,7 +133,7 @@ return [
'config' => [ 'config' => [
'type' => 'input', 'type' => 'input',
'size' => 30, 'size' => 30,
'eval' => 'trim, required' 'eval' => 'trim, required, unique'
], ],
], ],
'job_id' => [ 'job_id' => [
......
Eine neue {f:if(condition: '{application.jobTitle}', then: 'Bewerbung als <b>{application.jobTitle}</b> für den Standort <b>{application.company.city}</b>.', else: 'Initiativbewerbung für den Standort <b>{application.company.city}</b>.')}
Geschlecht: {f:if(condition: '{application.gender} == \'Female\'', then: 'weiblich', else: 'männlich')}
Vorname: {application.firstName}
Nachname: {application.lastName}
Geburtsdatum: {application.birthDate}
Straße: {application.street}
Postleitzahl: {application.zip}
Ort: {application.city}
Land: {application.country}
Nationalität: {application.nationality}
Telefon: {application.phone}
Mobil: {application.mobile}
E-Mail-Adresse: {application.email}
Höchster Bildungsstand: {application.education}
Nachricht:
{application.message}
{f:if(condition: '{application.privacyPolicy}', then: 'Die Datenschutzvereinbarung wurde aktzeptiert.')}
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"license": [ "license": [
"GPL-2.0-or-later" "GPL-2.0-or-later"
], ],
"version": "1.18.0", "version": "1.19.1",
"support": { "support": {
"issues": "https://gitlab.sgalinski.de/typo3/sg_jobs" "issues": "https://gitlab.sgalinski.de/typo3/sg_jobs"
}, },
......
...@@ -4,7 +4,7 @@ $EM_CONF[$_EXTKEY] = array ( ...@@ -4,7 +4,7 @@ $EM_CONF[$_EXTKEY] = array (
'title' => 'Jobs', 'title' => 'Jobs',
'description' => 'Manage and display your Job offers.', 'description' => 'Manage and display your Job offers.',
'category' => 'plugin', 'category' => 'plugin',
'version' => '1.18.0', 'version' => '1.19.1',
'state' => 'stable', 'state' => 'stable',
'uploadfolder' => FALSE, 'uploadfolder' => FALSE,
'createDirs' => '', 'createDirs' => '',
......
...@@ -60,6 +60,9 @@ if (TYPO3_MODE === 'BE') { ...@@ -60,6 +60,9 @@ if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(file_get_contents($tsPath . 'setup.ts')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(file_get_contents($tsPath . 'setup.ts'));
} }
// register mail templates
$GLOBALS['sg_mail']['sg_jobs']['ApplicationMail'] = 'EXT:sg_jobs/Configuration/SgMail/ApplicationMail.php';
// signal slot for sg_seo integration // signal slot for sg_seo integration
/** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */ /** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
......
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