[CST-12109] added new labels

This commit is contained in:
Mykhaylo Boychuk
2023-11-01 14:40:46 +01:00
parent 9094d8233f
commit 0b391970e0
2 changed files with 6 additions and 0 deletions

View File

@@ -182,6 +182,7 @@ export class DSOEditMenuResolver implements Resolve<{ [key: string]: MenuSection
visible: canWithdrawItem,
model: {
type: MenuItemType.ONCLICK,
text:'item.page.withdrawn',
function: () => {
this.dsoWithdrawnModalService.openCreateWithdrawnModal(dso);
}
@@ -195,6 +196,7 @@ export class DSOEditMenuResolver implements Resolve<{ [key: string]: MenuSection
visible: canReinstateItem,
model: {
type: MenuItemType.ONCLICK,
text:'item.page.reinstate',
function: () => {
this.dsoReinstateModalService.openCreateReinstateModal(dso);
}

View File

@@ -2450,6 +2450,10 @@
"item.page.version.create": "Create new version",
"item.page.withdrawn": "Withdrawn this Item",
"item.page.reinstate": "Reinstate this Item",
"item.page.version.hasDraft": "A new version cannot be created because there is an inprogress submission in the version history",
"item.page.claim.button": "Claim",