initial jobs frontend #8
Annotations
3 errors
Run tests:
invenio_jobs/administration/jobs.py#L1
isort-check
AdminResourceDetailView,
AdminResourceListView,
)
+from invenio_i18n import lazy_gettext as _
from invenio_search_ui.searchconfig import search_app_config
-from invenio_i18n import lazy_gettext as _
class JobsListView(AdminResourceListView):
|
Run tests:
invenio_jobs/administration/jobs.py#L1
Black format check
--- /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/administration/jobs.py 2024-05-13 11:35:05.098647+00:00
+++ /home/runner/work/invenio-jobs/invenio-jobs/invenio_jobs/administration/jobs.py 2024-05-13 11:36:47.264788+00:00
@@ -31,11 +31,10 @@
category = "System"
pid_path = "id"
icon = "settings"
template = "invenio_administration/search.html"
-
display_search = False
display_delete = False
display_create = False
display_edit = False
@@ -48,11 +47,11 @@
}
search_config_name = "RDM_JOBS_SEARCH"
search_sort_config_name = "RDM_JOBS_SORT_OPTIONS"
search_facets_config_name = "RDM_JOBS_FACETS"
-
+
actions = {
"settings": {
"text": "Settings",
"payload_schema": None,
"order": 1,
@@ -79,11 +78,11 @@
search_request_headers = {"Accept": "application/json"}
name = "Job Details"
resource_config = "jobs_resource"
title = "Job Details"
- template = "invenio_administration/details.html" # "invenio_rdm_records/system/jobs/jobs-details.html"
+ template = "invenio_administration/details.html" # "invenio_rdm_records/system/jobs/jobs-details.html"
display_delete = False
display_edit = False
display_search = False
list_view_name = "jobs"
|
Run tests
Process completed with exit code 1.
|
Loading