Skip to content

Commit

Permalink
bug: fix jobs UI routes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed May 14, 2024
1 parent 9035f06 commit 3d2d167
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion invenio_jobs/administration/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class JobsListView(AdminResourceListView):
category = "System"
pid_path = "id"
icon = "settings"
template = "invenio_administration/search.html"
template = "invenio_jobs/system/jobs/jobs-search.html"

display_search = False
display_delete = False
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// This file is part of InvenioCommunities
// Copyright (C) 2024 CERN.
//
// Invenio RDM is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { BoolFormatter } from "@js/invenio_administration";
import { SystemJobActions } from "../SystemJobActions";
import { SystemJobActions } from "./SystemJobActions";
import PropTypes from "prop-types";
import React, { Component } from "react";
import { Table } from "semantic-ui-react";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export class SystemJobActions extends Component {
</>
);
};

return (
<div>
<Button.Group basic widths={5} compact className="margined">
Expand Down
3 changes: 2 additions & 1 deletion invenio_jobs/webpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
themes={
"semantic-ui": dict(
entry={
"invenio-jobs-administration": "./js/invenio_jobs/administration/index.js",
"invenio-jobs-search": "./js/invenio_jobs/administration/index.js",
"invenio-jobs-details": "./js/invenio_jobs/administration/details/index.js",
},
dependencies={
"react-invenio-forms": "^3.0.0",
Expand Down

0 comments on commit 3d2d167

Please sign in to comment.