@@ -64,10 +64,10 @@ |
||
64 | 64 | $imageUrl = $image ? $image->getUri() : ''; |
65 | 65 | |
66 | 66 | $options[$org->getId()] = $name . '|' |
67 | - . $contact->getCity() . '|' |
|
68 | - . $contact->getStreet() . '|' |
|
69 | - . $contact->getHouseNumber() . '|' |
|
70 | - . $imageUrl; |
|
67 | + . $contact->getCity() . '|' |
|
68 | + . $contact->getStreet() . '|' |
|
69 | + . $contact->getHouseNumber() . '|' |
|
70 | + . $imageUrl; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | return $this->setValueOptions($options); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | parent::init(); |
19 | 19 | $input = $this->get('applyId') |
20 | - ->getValidatorChain() |
|
21 | - ->attachByName('Jobs/Form/UniqueApplyId'); |
|
20 | + ->getValidatorChain() |
|
21 | + ->attachByName('Jobs/Form/UniqueApplyId'); |
|
22 | 22 | } |
23 | 23 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | if (true === $this->getOption('include_all_option')) { |
37 | 37 | $valueOptions = array_merge([ |
38 | 38 | 'all' => /*@translate*/ 'All', |
39 | - ], $valueOptions ); |
|
39 | + ], $valueOptions ); |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | $this->setValueOptions($valueOptions); |
@@ -30,21 +30,21 @@ |
||
30 | 30 | )); |
31 | 31 | |
32 | 32 | $this->add([ |
33 | - 'type' => 'Jobs/StatusSelect', |
|
33 | + 'type' => 'Jobs/StatusSelect', |
|
34 | 34 | |
35 | - ]); |
|
35 | + ]); |
|
36 | 36 | |
37 | 37 | $this->add([ |
38 | - 'type' => 'Core/Datepicker', |
|
39 | - 'name' => 'datePublishStart', |
|
40 | - 'options' => [ |
|
41 | - 'label' => /*@translate*/ 'Start date', |
|
42 | - 'description' => /*@translate*/ 'Set the start date of this job.', |
|
43 | - ], |
|
44 | - 'attributes' => [ |
|
45 | - 'data-date-autoclose' => 'true', |
|
46 | - ], |
|
47 | - ]); |
|
38 | + 'type' => 'Core/Datepicker', |
|
39 | + 'name' => 'datePublishStart', |
|
40 | + 'options' => [ |
|
41 | + 'label' => /*@translate*/ 'Start date', |
|
42 | + 'description' => /*@translate*/ 'Set the start date of this job.', |
|
43 | + ], |
|
44 | + 'attributes' => [ |
|
45 | + 'data-date-autoclose' => 'true', |
|
46 | + ], |
|
47 | + ]); |
|
48 | 48 | $this->setIsDescriptionsEnabled(true); |
49 | 49 | } |
50 | 50 |
@@ -40,8 +40,8 @@ discard block |
||
40 | 40 | { |
41 | 41 | $qb = $this->createQueryBuilder(); |
42 | 42 | $qb->hydrate(false) |
43 | - ->select('applyId') |
|
44 | - ->field('applyId')->equals($applyId); |
|
43 | + ->select('applyId') |
|
44 | + ->field('applyId')->equals($applyId); |
|
45 | 45 | |
46 | 46 | $result = $qb->getQuery()->execute(); |
47 | 47 | $count = $result->count(); |
@@ -75,11 +75,11 @@ discard block |
||
75 | 75 | { |
76 | 76 | $qb = $this->createQueryBuilder(); |
77 | 77 | $qb->hydrate(false) |
78 | - ->select('title', 'applyId') |
|
79 | - ->field('permissions.view')->equals($userId) |
|
80 | - ->field('title')->equals(new \MongoRegex('/' . $query . '/i')) |
|
81 | - ->sort('title') |
|
82 | - ->limit(5); |
|
78 | + ->select('title', 'applyId') |
|
79 | + ->field('permissions.view')->equals($userId) |
|
80 | + ->field('title')->equals(new \MongoRegex('/' . $query . '/i')) |
|
81 | + ->sort('title') |
|
82 | + ->limit(5); |
|
83 | 83 | |
84 | 84 | $result = $qb->getQuery()->execute(); |
85 | 85 | |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | $qb = $this->createQueryBuilder(); |
145 | 145 | $qb->distinct('organization') |
146 | 146 | ->hydrate(true) |
147 | - ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]); |
|
147 | + ->field('status.name')->notIn([ StatusInterface::EXPIRED, StatusInterface::INACTIVE ]); |
|
148 | 148 | $q = $qb->getQuery(); |
149 | 149 | $r = $q->execute(); |
150 | 150 | $r = $r->toArray(); |
@@ -36,21 +36,21 @@ |
||
36 | 36 | $pending = $this->repository->count(['status.name' => StatusInterface::CREATED]); |
37 | 37 | |
38 | 38 | $event->addViewVariables('jobs', [ |
39 | - 'title' => 'Jobs', |
|
40 | - 'data' => [ |
|
39 | + 'title' => 'Jobs', |
|
40 | + 'data' => [ |
|
41 | 41 | /*@translate*/ 'Total jobs' => [ |
42 | 42 | 'url' => [ 'lang/admin/jobs', [], true ], |
43 | 43 | 'value' => $total, |
44 | 44 | ], |
45 | 45 | /*@translate*/ 'Active jobs' => [ |
46 | - 'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ], |
|
47 | - 'value' => $active |
|
48 | - ], |
|
46 | + 'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'active' ]], true ], |
|
47 | + 'value' => $active |
|
48 | + ], |
|
49 | 49 | /*@translate*/ 'Pending jobs' => [ |
50 | - 'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ], |
|
51 | - 'value' => $pending |
|
52 | - ] |
|
53 | - ], |
|
54 | - ]); |
|
50 | + 'url' => [ 'lang/admin/jobs', [], ['query' => [ 'status' => 'created' ]], true ], |
|
51 | + 'value' => $pending |
|
52 | + ] |
|
53 | + ], |
|
54 | + ]); |
|
55 | 55 | } |
56 | 56 | } |
57 | 57 | \ No newline at end of file |
@@ -71,7 +71,7 @@ |
||
71 | 71 | return new JsonModel([ |
72 | 72 | 'valid' => $valid, |
73 | 73 | 'errors' => $errors |
74 | - ]); |
|
74 | + ]); |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | $form->bind($job); |
@@ -310,9 +310,9 @@ |
||
310 | 310 | if (!$user) { |
311 | 311 | $user = $repository->create(); |
312 | 312 | $user->setEmail($email) |
313 | - ->setLogin($email) |
|
314 | - ->setRole(\Auth\Entity\User::ROLE_RECRUITER) |
|
315 | - ->setIsDraft(true); |
|
313 | + ->setLogin($email) |
|
314 | + ->setRole(\Auth\Entity\User::ROLE_RECRUITER) |
|
315 | + ->setIsDraft(true); |
|
316 | 316 | $info = $user->getInfo(); |
317 | 317 | /* @var $info \Auth\Entity\InfoInterface */ |
318 | 318 | $info->setEmail($email); |
@@ -52,7 +52,6 @@ discard block |
||
52 | 52 | * @method warning() |
53 | 53 | * @method success() |
54 | 54 | * @method danger() |
55 | - |
|
56 | 55 | * |
57 | 56 | *@author Mathias Gelhausen <[email protected]> |
58 | 57 | */ |
@@ -149,7 +148,7 @@ discard block |
||
149 | 148 | ) { |
150 | 149 | $class .= ' alert-dismissable'; |
151 | 150 | $content = '<button type="button" class="close" data-dismiss="alert">×</button>' |
152 | - . '<span class="notification-content">' . $content . '</span>'; |
|
151 | + . '<span class="notification-content">' . $content . '</span>'; |
|
153 | 152 | } |
154 | 153 | |
155 | 154 | $target = array_key_exists('target', $options)?' target="' . $options['target'] . '"':''; |