diff --git a/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/Icons.js b/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/Icons.js index 3aa7e8b9..f3445343 100644 --- a/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/Icons.js +++ b/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/Icons.js @@ -3,11 +3,6 @@ // // Invenio RDM Records is free software; you can redistribute it and/or modify it // under the terms of the MIT License; see LICENSE file for more details. -// This file is part of InvenioRequests -// Copyright (C) 2023 CERN. -// -// Invenio RDM Records is free software; you can redistribute it and/or modify it -// under the terms of the MIT License; see LICENSE file for more details. import React from "react"; import { Icon } from "semantic-ui-react"; diff --git a/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/index.js b/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/index.js index d765cf65..cd9572fd 100644 --- a/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/index.js +++ b/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/index.js @@ -1,3 +1,9 @@ +// This file is part of Invenio Requests +// Copyright (C) 2024 CERN. +// +// Invenio is free software; you can redistribute it and/or modify it +// under the terms of the MIT License; see LICENSE file for more details. + import { LabelStatusAccept, LabelStatusCancel, @@ -12,6 +18,7 @@ import { LabelTypeUserAccess, LabelTypeCommunityManageRecord, LabelTypeCommunitySubcommunity, + LabelTypeCommunitySubcommunityInvitation, LabelTypeCommunityMembershipRequest, } from "@js/invenio_requests/contrib"; import { @@ -39,6 +46,8 @@ export const defaultContribComponents = { [`RequestTypeLabel.layout.user-access-request`]: LabelTypeUserAccess, [`RequestTypeLabel.layout.community-manage-record`]: LabelTypeCommunityManageRecord, [`RequestTypeLabel.layout.subcommunity`]: LabelTypeCommunitySubcommunity, + [`RequestTypeLabel.layout.subcommunity-invitation`]: + LabelTypeCommunitySubcommunityInvitation, [`RequestTypeLabel.layout.community-membership-request`]: LabelTypeCommunityMembershipRequest, [`RequestStatusLabel.layout.submitted`]: LabelStatusSubmit, diff --git a/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/labels/TypeLabel.js b/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/labels/TypeLabel.js index e85f0b5a..202826be 100644 --- a/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/labels/TypeLabel.js +++ b/invenio_requests/assets/semantic-ui/js/invenio_requests/contrib/labels/TypeLabel.js @@ -51,6 +51,12 @@ export const LabelTypeCommunitySubcommunity = (props) => ( ); +export const LabelTypeCommunitySubcommunityInvitation = (props) => ( + +); + export const LabelTypeCommunityMembershipRequest = (props) => (