Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
99eccbaf
Commit
99eccbaf
authored
May 11, 2020
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Salary type added
parent
06bd4cc3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
426 additions
and
409 deletions
+426
-409
JsonDataCollector.php
wp-content/plugins/jobs-importer/JsonDataCollector.php
+247
-246
jobs-importer.php
wp-content/plugins/jobs-importer/jobs-importer.php
+162
-162
single-job.php
wp-content/themes/biuro/single-job.php
+17
-1
No files found.
wp-content/plugins/jobs-importer/JsonDataCollector.php
View file @
99eccbaf
...
...
@@ -16,6 +16,7 @@ class JsonDataCollector
'salary_from'
=>
'atlygis_nuo'
,
'salary_to'
=>
'atlygis_iki'
,
'video_url'
=>
'video_url'
,
'salary_type'
=>
'salary_type'
,
];
// Taxonomies data map
...
...
wp-content/plugins/jobs-importer/jobs-importer.php
View file @
99eccbaf
wp-content/themes/biuro/single-job.php
View file @
99eccbaf
...
...
@@ -276,7 +276,23 @@ get_header();
echo
__
(
'to'
,
'biuro'
)
.
' '
.
$pod
->
field
(
'salary_to'
)
.
' '
;
endif
;
switch
(
$pod
->
field
(
'salary_type'
))
:
case
'neto_month'
:
_e
(
'(neto per month)'
,
'biuro'
);
break
;
case
'bruto_month'
:
_e
(
'(bruto per month)'
,
'biuro'
);
break
;
case
'neto_hour'
:
_e
(
'(neto per hour)'
,
'biuro'
);
break
;
case
'bruto_hour'
:
_e
(
'(bruto per hour)'
,
'biuro'
);
break
;
default
:
_e
(
'(neto)'
,
'biuro'
);
break
;
endswitch
;
endif
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment