File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
assets/semantic-ui/js/invenio_requests/contrib Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import {
20
20
LabelTypeCommunitySubcommunity ,
21
21
LabelTypeCommunitySubcommunityInvitation ,
22
22
LabelTypeCommunityMembershipRequest ,
23
+ LabelTypeRecordDeletion ,
23
24
} from "@js/invenio_requests/contrib" ;
24
25
import {
25
26
RequestAcceptButton ,
@@ -51,6 +52,7 @@ export const defaultContribComponents = {
51
52
LabelTypeCommunitySubcommunityInvitation ,
52
53
[ `RequestTypeLabel.layout.community-membership-request` ] :
53
54
LabelTypeCommunityMembershipRequest ,
55
+ [ `RequestTypeLabel.layout.record-deletion` ] : LabelTypeRecordDeletion ,
54
56
[ `RequestStatusLabel.layout.submitted` ] : LabelStatusSubmit ,
55
57
[ `RequestStatusLabel.layout.deleted` ] : LabelStatusDelete ,
56
58
[ `RequestStatusLabel.layout.accepted` ] : LabelStatusAccept ,
Original file line number Diff line number Diff line change @@ -62,3 +62,9 @@ export const LabelTypeCommunityMembershipRequest = (props) => (
62
62
{ i18next . t ( "Membership request" ) }
63
63
</ Label >
64
64
) ;
65
+
66
+ export const LabelTypeRecordDeletion = ( props ) => (
67
+ < Label horizontal className = "primary theme-secondary" size = "small" >
68
+ { i18next . t ( "Record deletion" ) }
69
+ </ Label >
70
+ ) ;
Original file line number Diff line number Diff line change 29
29
"subcommunity-invitation" : _ ("Subcommunity invitation" ),
30
30
# Moderation
31
31
"user-moderation" : _ ("User moderation" ),
32
+ "record-deletion" : _ ("Record deletion" ),
32
33
# Instance-specific labels which ideally should not be listed here
33
34
"community-manage-record" : _ ("Community manage record" ),
34
35
"legacy-record-upgrade" : _ ("Upgrade legacy record" ),
You can’t perform that action at this time.
0 commit comments