diff --git a/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.html b/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.html index 157a400d11..f8c5c92e96 100644 --- a/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.html +++ b/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.html @@ -6,6 +6,8 @@ + + diff --git a/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.ts b/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.ts index 19e24eff59..5d29eb7f73 100644 --- a/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.ts +++ b/src/app/+collection-page/edit-item-template-page/edit-item-template-page.component.ts @@ -8,6 +8,7 @@ import { ItemTemplateDataService } from '../../core/data/item-template-data.serv import { getCollectionEditRoute } from '../collection-page-routing-paths'; import { Item } from '../../core/shared/item.model'; import { getFirstSucceededRemoteDataPayload } from '../../core/shared/operators'; +import { AlertType } from '../../shared/alert/aletr-type'; @Component({ selector: 'ds-edit-item-template-page', @@ -28,6 +29,12 @@ export class EditItemTemplatePageComponent implements OnInit { */ itemRD$: Observable>; + /** + * The AlertType enumeration + * @type {AlertType} + */ + AlertTypeEnum = AlertType; + constructor(protected route: ActivatedRoute, public itemTemplateService: ItemTemplateDataService) { } diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5 index a16d41a9e3..0ba07cdaf1 100644 --- a/src/assets/i18n/en.json5 +++ b/src/assets/i18n/en.json5 @@ -777,10 +777,14 @@ "collection.edit.template.edit-button": "Edit", + "collection.edit.template.error": "An error occurred retrieving the template item", + "collection.edit.template.head": "Edit Template Item for Collection \"{{ collection }}\"", "collection.edit.template.label": "Template item", + "collection.edit.template.loading": "Loading template item...", + "collection.edit.template.notifications.delete.error": "Failed to delete the item template", "collection.edit.template.notifications.delete.success": "Successfully deleted the item template",