diff --git a/invenio_jobs/administration/jobs.py b/invenio_jobs/administration/jobs.py index c4279db..169e43a 100644 --- a/invenio_jobs/administration/jobs.py +++ b/invenio_jobs/administration/jobs.py @@ -83,7 +83,7 @@ class JobDetailView(AdminResourceDetailView): url = "/jobs/" api_endpoint = "/jobs" name = "job-details" - resource_config = "JOBS_resource" + resource_config = "jobs_resource" title = "Job" template = "invenio_administration/details.html" diff --git a/invenio_jobs/config.py b/invenio_jobs/config.py index f63408c..c0c5e76 100644 --- a/invenio_jobs/config.py +++ b/invenio_jobs/config.py @@ -6,3 +6,5 @@ # under the terms of the MIT License; see LICENSE file for more details. """Configuration.""" + +JOBS_ADMINISTRATION_DISABLED = False