@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | 'options' => [ |
39 | 39 | 'enable_descriptions' => true, |
40 | 40 | 'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.' . |
41 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
41 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
42 | 42 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
43 | 43 | ], |
44 | 44 | ], |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | 'options' => [ |
58 | 58 | 'enable_descriptions' => true, |
59 | 59 | 'description' => /*@translate*/ 'Manage the industries you want to assign to jobs.' . |
60 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
60 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
61 | 61 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
62 | 62 | ], |
63 | 63 | ], |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | 'options' => [ |
77 | 77 | 'enable_descriptions' => true, |
78 | 78 | 'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.'. |
79 | - /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
79 | + /*@translate*/ 'The order of categories can be modified by drag&drop.', |
|
80 | 80 | 'display_mode' => SummaryForm::DISPLAY_SUMMARY, |
81 | 81 | ], |
82 | 82 | ], |
@@ -42,13 +42,13 @@ |
||
42 | 42 | |
43 | 43 | $this->add( |
44 | 44 | array( |
45 | - 'type' => 'Jobs/MultipostingSelect', |
|
46 | - 'property' => true, |
|
47 | - 'name' => 'portals', |
|
48 | - 'options' => array( |
|
49 | - 'label' => /*@translate*/ 'Portals', |
|
50 | - ), |
|
51 | - ) |
|
45 | + 'type' => 'Jobs/MultipostingSelect', |
|
46 | + 'property' => true, |
|
47 | + 'name' => 'portals', |
|
48 | + 'options' => array( |
|
49 | + 'label' => /*@translate*/ 'Portals', |
|
50 | + ), |
|
51 | + ) |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 |
@@ -62,6 +62,6 @@ |
||
62 | 62 | ) |
63 | 63 | ) |
64 | 64 | ) |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | } |
@@ -24,19 +24,19 @@ |
||
24 | 24 | public function init() |
25 | 25 | { |
26 | 26 | $this->add( |
27 | - array( |
|
28 | - 'type' => 'Core/Spinner-Submit', |
|
29 | - 'name' => 'calculate', |
|
30 | - 'options' => array( |
|
31 | - 'label' => /*@translate*/ 'Calculate price', |
|
32 | - ), |
|
33 | - 'attributes' => array( |
|
34 | - 'id' => 'calculate', |
|
35 | - 'type' => 'button', |
|
36 | - 'value' => 'calculate', |
|
37 | - 'class' => 'mps-calculate btn btn-success btn-xs' |
|
38 | - ), |
|
39 | - ) |
|
27 | + array( |
|
28 | + 'type' => 'Core/Spinner-Submit', |
|
29 | + 'name' => 'calculate', |
|
30 | + 'options' => array( |
|
31 | + 'label' => /*@translate*/ 'Calculate price', |
|
32 | + ), |
|
33 | + 'attributes' => array( |
|
34 | + 'id' => 'calculate', |
|
35 | + 'type' => 'button', |
|
36 | + 'value' => 'calculate', |
|
37 | + 'class' => 'mps-calculate btn btn-success btn-xs' |
|
38 | + ), |
|
39 | + ) |
|
40 | 40 | ); |
41 | 41 | |
42 | 42 | parent::init(); |
@@ -62,6 +62,6 @@ |
||
62 | 62 | ) |
63 | 63 | ) |
64 | 64 | ) |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | } |
@@ -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 |
@@ -39,12 +39,12 @@ |
||
39 | 39 | $viewLink = $controllerPluginManager->get('url')->fromRoute( |
40 | 40 | 'lang/jobs/view', |
41 | 41 | array( |
42 | - ), |
|
42 | + ), |
|
43 | 43 | array( |
44 | - 'query' => array( |
|
45 | - 'id' => $data['id'], |
|
46 | - ) |
|
47 | - ) |
|
44 | + 'query' => array( |
|
45 | + 'id' => $data['id'], |
|
46 | + ) |
|
47 | + ) |
|
48 | 48 | ); |
49 | 49 | |
50 | 50 | $data['previewLink'] = $viewLink; |
@@ -25,8 +25,8 @@ |
||
25 | 25 | class CreateAssertion extends AbstractEventManagerAwareAssertion |
26 | 26 | { |
27 | 27 | protected $identifiers = array( |
28 | - 'Jobs/Acl/Assertions', |
|
29 | - 'Jobs/Acl/Assertion/Create', |
|
28 | + 'Jobs/Acl/Assertions', |
|
29 | + 'Jobs/Acl/Assertion/Create', |
|
30 | 30 | ); |
31 | 31 | |
32 | 32 | protected function preAssert( |
@@ -114,10 +114,10 @@ |
||
114 | 114 | } else { |
115 | 115 | $result = sprintf( |
116 | 116 | '<a href="%s" rel="%s" %s>%s</a>', |
117 | - $url, |
|
118 | - $options['rel'], |
|
119 | - $options['target']?"target=" . $options['target']:"", |
|
120 | - strip_tags($jobEntity->getTitle()) |
|
117 | + $url, |
|
118 | + $options['rel'], |
|
119 | + $options['target']?"target=" . $options['target']:"", |
|
120 | + strip_tags($jobEntity->getTitle()) |
|
121 | 121 | ); |
122 | 122 | } |
123 | 123 |