-
{{'DMP-BLUEPRINT-EDITOR.TITLE.NEW' | translate}}
+ {{'DMP-BLUEPRINT-EDITOR.TITLE.NEW' | translate}}
+ {{formGroup.get('label').value}}
{{'DMP-BLUEPRINT-EDITOR.TITLE.CLONE' | translate}}
{{formGroup.get('label').value}}
@@ -11,7 +12,6 @@
{{'DMP-BLUEPRINT-EDITOR.TITLE.NEW-VERSION' | translate}}
{{formGroup.get('label').value}}
-
@@ -256,7 +256,7 @@
-
diff --git a/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.ts b/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.ts
index d22c85fe5..df08ac997 100644
--- a/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.ts
+++ b/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.ts
@@ -78,13 +78,22 @@ export class DmpBlueprintEditorComponent extends BaseEditor
queue{{'DMP-BLUEPRINT-LISTING.ACTIONS.NEW-VERSION' | translate}}
-
- file_copy{{'DMP-BLUEPRINT-LISTING.ACTIONS.NEW-VERSION-FROM-FILE' | translate}}
-
content_copy{{'DMP-BLUEPRINT-LISTING.ACTIONS.CLONE' | translate}}
diff --git a/dmp-frontend/src/app/ui/admin/dmp-blueprint/listing/dmp-blueprint-listing.component.ts b/dmp-frontend/src/app/ui/admin/dmp-blueprint/listing/dmp-blueprint-listing.component.ts
index 6bf03eaf8..8217ebe8e 100644
--- a/dmp-frontend/src/app/ui/admin/dmp-blueprint/listing/dmp-blueprint-listing.component.ts
+++ b/dmp-frontend/src/app/ui/admin/dmp-blueprint/listing/dmp-blueprint-listing.component.ts
@@ -49,6 +49,7 @@ export class DmpBlueprintListingComponent extends BaseListingComponent(x => x.id),
nameof(x => x.label),
nameof(x => x.status),
+ nameof(x => x.version),
nameof(x => x.updatedAt),
nameof(x => x.createdAt),
nameof(x => x.hash),
@@ -103,12 +104,18 @@ export class DmpBlueprintListingComponent extends BaseListingComponent(x => x.label),
sortable: true,
languageName: 'DMP-BLUEPRINT-LISTING.FIELDS.NAME'
- }, {
+ },
+ {
prop: nameof(x => x.status),
sortable: true,
languageName: 'DMP-BLUEPRINT-LISTING.FIELDS.STATUS',
cellTemplate: this.dmpBlueprintStatus
},
+ {
+ prop: nameof(x => x.version),
+ sortable: true,
+ languageName: 'DMP-BLUEPRINT-LISTING.FIELDS.VERSION'
+ },
{
prop: nameof(x => x.createdAt),
sortable: true,
diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json
index fcef511d2..be2dddbe1 100644
--- a/dmp-frontend/src/assets/i18n/en.json
+++ b/dmp-frontend/src/assets/i18n/en.json
@@ -1900,6 +1900,7 @@
"FIELDS": {
"NAME": "Name",
"STATUS": "Status",
+ "VERSION": "Version",
"UPDATED-AT": "Updated",
"CREATED-AT": "Created",
"PUBLISHED-AT": "Published",
@@ -1922,7 +1923,6 @@
"EDIT": "Edit",
"CLONE": "Clone",
"NEW-VERSION": "New Version",
- "NEW-VERSION-FROM-FILE": "New Version from File",
"DOWNLOAD-XML": "Download XML"
},
"IMPORT": {