@@ -41,14 +41,14 @@ discard block |
||
41 | 41 | public function init() |
42 | 42 | { |
43 | 43 | $this->setName('emails') |
44 | - ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
44 | + ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
45 | 45 | |
46 | 46 | $this->add( |
47 | 47 | array('type' => Checkbox::class, |
48 | 48 | 'name' => 'mailAccess', |
49 | 49 | 'label' => 'foo', |
50 | 50 | 'options' => array('label' => /* @translate */ 'receive E-Mail alert', |
51 | - 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
51 | + 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
52 | 52 | ) |
53 | 53 | ); |
54 | 54 | $this->add( |
@@ -62,13 +62,13 @@ discard block |
||
62 | 62 | array('type' => 'Zend\Form\Element\Checkbox', |
63 | 63 | 'name' => 'autoConfirmMail', |
64 | 64 | 'options' => array('label' => /* @translate */ 'confirm application immidiatly after submit', |
65 | - 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
65 | + 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
66 | 66 | ) |
67 | 67 | ); |
68 | 68 | $this->add( |
69 | 69 | array('type' => 'Zend\Form\Element\Textarea', |
70 | 70 | 'name' => 'mailConfirmationText', |
71 | - 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
71 | + 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
72 | 72 | 'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li><li>##link## = Link to the application details</li></ul>' )) |
73 | 73 | ); |
74 | 74 |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | public function init() |
26 | 26 | { |
27 | 27 | $this->setIsDisableCapable(false) |
28 | - ->setIsDisableElementsCapable(false) |
|
29 | - ->setAttribute('data-submit-on', 'checkbox'); |
|
28 | + ->setIsDisableElementsCapable(false) |
|
29 | + ->setAttribute('data-submit-on', 'checkbox'); |
|
30 | 30 | |
31 | 31 | $this->add( |
32 | 32 | array( |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | 'route' => 'lang/content', |
55 | 55 | 'params' => array( |
56 | 56 | 'view' => 'applications-privacy-policy' |
57 | - ) |
|
57 | + ) |
|
58 | 58 | ), |
59 | 59 | 'attributes' => array( |
60 | 60 | 'data-validate' => 'acceptedPrivacyPolicy', |
@@ -35,10 +35,10 @@ |
||
35 | 35 | 'applications list' => 'list view scripts.', |
36 | 36 | 'applications reset-files-permissions [--filter=]' => 'Resets (means: Set again) the permissions of attachments and contact images', |
37 | 37 | array('--filter=JSON', "available keys:\n" |
38 | - . "- before ISODate only applications before the given date\n" |
|
39 | - . "- after ISODate only applications after the given date\n" |
|
40 | - . "- id String Mongo ID of the application\n" |
|
41 | - . "- isDraft Boolean "), |
|
38 | + . "- before ISODate only applications before the given date\n" |
|
39 | + . "- after ISODate only applications after the given date\n" |
|
40 | + . "- id String Mongo ID of the application\n" |
|
41 | + . "- isDraft Boolean "), |
|
42 | 42 | ); |
43 | 43 | } |
44 | 44 |
@@ -73,14 +73,14 @@ |
||
73 | 73 | $count = $options->getAttachmentsCount(); |
74 | 74 | |
75 | 75 | $form->setIsDisableCapable(false) |
76 | - ->setIsDisableElementsCapable(false) |
|
77 | - ->setIsDescriptionsEnabled(true) |
|
78 | - ->setDescription( |
|
76 | + ->setIsDisableElementsCapable(false) |
|
77 | + ->setIsDescriptionsEnabled(true) |
|
78 | + ->setDescription( |
|
79 | 79 | /*@translate*/ 'Attach images or PDF Documents to your application. Drag&drop them, or click into the attachement area. You can upload up to %sMB', |
80 | - [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)] |
|
81 | - ) |
|
82 | - ->setParam('return', 'file-uri') |
|
83 | - ->setLabel(/*@translate*/ 'Attachments'); |
|
80 | + [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)] |
|
81 | + ) |
|
82 | + ->setParam('return', 'file-uri') |
|
83 | + ->setLabel(/*@translate*/ 'Attachments'); |
|
84 | 84 | |
85 | 85 | /** @var $file FileUpload*/ |
86 | 86 | $file = $form->get($this->fileName); |
@@ -241,7 +241,6 @@ discard block |
||
241 | 241 | * Gets all comments for the application. |
242 | 242 | * |
243 | 243 | * @return ArrayCollection; |
244 | - |
|
245 | 244 | */ |
246 | 245 | public function getComments(); |
247 | 246 | |
@@ -272,7 +271,6 @@ discard block |
||
272 | 271 | * Gets all attributes for an application. |
273 | 272 | * |
274 | 273 | * @return ArrayCollection; |
275 | - |
|
276 | 274 | */ |
277 | 275 | public function getAttributes(); |
278 | 276 |
@@ -100,7 +100,7 @@ |
||
100 | 100 | 'link' => $this->router->assemble( |
101 | 101 | ['id' => $this->application->getId()], |
102 | 102 | ['name'=>'lang/applications/detail', 'force_canonical'=>true] |
103 | - ), |
|
103 | + ), |
|
104 | 104 | ]; |
105 | 105 | |
106 | 106 | $this->setTo($this->user->getInfo()->getEmail(), $this->user->getInfo()->getDisplayName(false)); |
@@ -85,7 +85,7 @@ |
||
85 | 85 | $application->getStatus(), |
86 | 86 | sprintf( |
87 | 87 | /* @translate */ 'Application was rated by %s', |
88 | - $this->auth()->getUser()->getInfo()->getDisplayName() |
|
88 | + $this->auth()->getUser()->getInfo()->getDisplayName() |
|
89 | 89 | ) |
90 | 90 | ); |
91 | 91 | } |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | $application->changeStatus( |
164 | 164 | $application->getStatus(), |
165 | 165 | sprintf(/*@translate*/ 'Application was read by %s', |
166 | - $this->auth()->getUser()->getInfo()->getDisplayName() |
|
166 | + $this->auth()->getUser()->getInfo()->getDisplayName() |
|
167 | 167 | ) |
168 | 168 | ); |
169 | 169 | } |
@@ -192,8 +192,8 @@ discard block |
||
192 | 192 | $viewModel->setVariables( |
193 | 193 | /*array( |
194 | 194 | 'application' => */$this->builders |
195 | - ->get('JsonApplication') |
|
196 | - ->unbuild($application) |
|
195 | + ->get('JsonApplication') |
|
196 | + ->unbuild($application) |
|
197 | 197 | ); |
198 | 198 | $viewModel->setVariable('isUnread', $applicationIsUnread); |
199 | 199 | $return = $viewModel; |
@@ -358,12 +358,12 @@ discard block |
||
358 | 358 | /* @var ApplicationEvent $event */ |
359 | 359 | $event = $events->getEvent( |
360 | 360 | ApplicationEvent::EVENT_APPLICATION_STATUS_CHANGE, |
361 | - $this, |
|
362 | - [ |
|
363 | - 'application' => $application, |
|
364 | - 'status' => $status, |
|
365 | - 'user' => $this->auth()->getUser(), |
|
366 | - ] |
|
361 | + $this, |
|
362 | + [ |
|
363 | + 'application' => $application, |
|
364 | + 'status' => $status, |
|
365 | + 'user' => $this->auth()->getUser(), |
|
366 | + ] |
|
367 | 367 | ); |
368 | 368 | |
369 | 369 | $event->setIsPostRequest($request->isPost()); |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | $emailAddress = $this->params()->fromQuery('email'); |
413 | 413 | /* @var \Applications\Entity\Application $application */ |
414 | 414 | $application = $this->repositories->get('Applications/Application') |
415 | - ->find($this->params('id')); |
|
415 | + ->find($this->params('id')); |
|
416 | 416 | |
417 | 417 | $this->acl($application, 'forward'); |
418 | 418 |
@@ -137,8 +137,8 @@ |
||
137 | 137 | $application->changeStatus( |
138 | 138 | Status::REJECTED, |
139 | 139 | sprintf( |
140 | - /*@translate */ 'Mail was sent to %s', |
|
141 | - $application->contact->email |
|
140 | + /*@translate */ 'Mail was sent to %s', |
|
141 | + $application->contact->email |
|
142 | 142 | ) |
143 | 143 | ); |
144 | 144 | $repositoryService->store($application); |