Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_jobs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_jobs
Merge requests
!3
Version 1 5
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Version 1 5
version_1_5
into
master
Overview
0
Commits
6
Changes
21
Merged
Torsten Oppermann
requested to merge
version_1_5
into
master
7 years ago
Overview
0
Commits
6
Changes
21
Expand
0
0
Merge request reports
Compare
master
version 2
48148554
7 years ago
version 1
2525eb2a
7 years ago
master (base)
and
latest version
latest version
ea9ac8e7
6 commits,
7 years ago
version 2
48148554
5 commits,
7 years ago
version 1
2525eb2a
4 commits,
7 years ago
21 files
+
219
−
77
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
21
Search (e.g. *.vue) (Ctrl+P)
Classes/Controller/JoblistController.php
+
9
−
5
Options
@@ -156,12 +156,18 @@ class JoblistController extends ActionController {
$this
->
view
->
assign
(
'folderName'
,
$folderName
);
$job
=
NULL
;
if
(
!
$uid
!==
NULL
)
{
/** @var Job $job */
$job
=
$this
->
jobRepository
->
findByUid
(
$uid
);
if
(
$job
)
{
$GLOBALS
[
'TSFE'
]
->
page
[
'titlebyextension'
]
=
$job
->
getTitle
();
$GLOBALS
[
'TSFE'
]
->
page
[
'description'
]
=
substr
(
$job
->
getDescription
(),
0
,
200
);
}
else
{
$storagePid
=
(
int
)
$this
->
configurationManager
->
getConfiguration
(
ConfigurationManagerInterface
::
CONFIGURATION_TYPE_FRAMEWORK
)[
'persistence'
][
'storagePid'
];
$this
->
view
->
assign
(
'companies'
,
$this
->
companyRepository
->
getAllCompanies
(
$storagePid
));
}
$this
->
view
->
assign
(
'job'
,
$job
);
}
@@ -290,16 +296,14 @@ class JoblistController extends ActionController {
if
(
$job
!==
NULL
)
{
/** @var Contact $contact */
$contact
=
$job
->
getContact
();
if
(
$contact
===
NULL
)
{
$contact
=
$this
->
contactRepository
->
findByUid
((
int
)
$this
->
settings
[
'defaultContactId'
]);
}
}
else
{
$contact
=
$this
->
contactRepository
->
findByUid
((
int
)
$this
->
settings
[
'defaultContactId'
]);
}
if
(
$contact
!==
NULL
)
{
$mailService
->
setToAddresses
(
$contact
->
getEmail
());
}
else
{
$mailService
->
setToAddresses
(
$applyData
->
getCompany
()
->
getContact
()
->
getEmail
());
}
$mailService
->
setMarkers
([
'application'
=>
$applyData
]);
$mailService
->
setIgnoreMailQueue
(
TRUE
);
Loading