diff --git a/src/pages/JobList/filter-jobs.js b/src/pages/JobList/filter-jobs.js
deleted file mode 100644
index d43ac18cb..000000000
--- a/src/pages/JobList/filter-jobs.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const filterJobs = ({ jobFilter, showSystemJobs, jobs }) => {
- // Filter jobs by the current jobFilter
- const applyJobFilter = (job) =>
- job.name.toLowerCase().includes(jobFilter.toLowerCase())
-
- // Filter jobs depending on the current showSystemJobs
- const applyShowSystemJobs = (job) =>
- // Jobs that are configurable are user jobs
- showSystemJobs ? true : job.configurable
-
- return jobs.filter(applyJobFilter).filter(applyShowSystemJobs)
-}
-
-export default filterJobs
diff --git a/src/pages/JobList/filter-jobs.test.js b/src/pages/JobList/filter-jobs.test.js
deleted file mode 100644
index 12c7c7a98..000000000
--- a/src/pages/JobList/filter-jobs.test.js
+++ /dev/null
@@ -1,58 +0,0 @@
-import filterJobs from './filter-jobs'
-
-describe('filterJobs', () => {
- it('should filter jobs by the current jobFilter', () => {
- const jobFilter = 'One'
- const showSystemJobs = true
- const expected = { name: 'One', configurable: true }
- const jobs = [expected, { name: 'Two', configurable: true }]
-
- expect(filterJobs({ jobFilter, showSystemJobs, jobs })).toEqual([
- expected,
- ])
- })
-
- it('should ignore job name capitalization', () => {
- const jobFilter = 'one'
- const showSystemJobs = true
- const expected = { name: 'One', configurable: true }
- const jobs = [expected, { name: 'Two', configurable: true }]
-
- expect(filterJobs({ jobFilter, showSystemJobs, jobs })).toEqual([
- expected,
- ])
- })
-
- it('should ignore jobFilter capitalization', () => {
- const jobFilter = 'One'
- const showSystemJobs = true
- const expected = { name: 'one', configurable: true }
- const jobs = [expected, { name: 'Two', configurable: true }]
-
- expect(filterJobs({ jobFilter, showSystemJobs, jobs })).toEqual([
- expected,
- ])
- })
-
- it('should show system jobs and user jobs if showSystemJobs is true', () => {
- const jobFilter = ''
- const showSystemJobs = true
- const jobs = [
- { name: 'One', configurable: false },
- { name: 'Two', configurable: true },
- ]
-
- expect(filterJobs({ jobFilter, showSystemJobs, jobs })).toEqual(jobs)
- })
-
- it('should hide system jobs and show user jobs if showSystemJobs is false', () => {
- const jobFilter = ''
- const showSystemJobs = false
- const expected = { name: 'Two', configurable: true }
- const jobs = [{ name: 'One', configurable: false }, expected]
-
- expect(filterJobs({ jobFilter, showSystemJobs, jobs })).toEqual([
- expected,
- ])
- })
-})
diff --git a/src/pages/JobList/index.js b/src/pages/JobList/index.js
deleted file mode 100644
index 49bb3c7e4..000000000
--- a/src/pages/JobList/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import JobList from './JobList'
-
-export default JobList
diff --git a/src/pages/JobView/JobView.js b/src/pages/JobView/JobView.js
index 2c2578ffd..70e561944 100644
--- a/src/pages/JobView/JobView.js
+++ b/src/pages/JobView/JobView.js
@@ -16,7 +16,7 @@ import { jobTypesMap } from '../../services/server-translations'
import styles from './JobView.module.css'
const infoLink =
- 'https://docs.dhis2.org/en/use/user-guides/dhis-core-version-236/maintaining-the-system/scheduling.html'
+ 'https://docs.dhis2.org/en/use/user-guides/dhis-core-version-master/maintaining-the-system/scheduling.html'
const JobView = ({ job }) => {
const {
@@ -52,7 +52,7 @@ const JobView = ({ job }) => {
- {i18n.t('About job configuration')}
+ {i18n.t('About the scheduler')}