Skip to content

Commit dd06969

Browse files
Simone-Ramundiatarix83
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-1868 (pull request DSpace#2266)
[DSC-1868] Approved-by: Giuseppe Digilio
2 parents f488b95 + 43d4971 commit dd06969

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/app/collection-page/edit-item-template-page/edit-item-template-page.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
<ng-container *ngIf="itemRD?.hasSucceeded">
55
<h2 class="border-bottom">{{ 'collection.edit.template.head' | translate:{ collection: dsoNameService.getName(collection) } }}</h2>
66
<ds-themed-dso-edit-metadata [updateDataService]="itemTemplateService" [dso]="itemRD?.payload"></ds-themed-dso-edit-metadata>
7-
<button [routerLink]="getCollectionEditUrl(collection)" class="btn btn-outline-secondary">{{ 'collection.edit.template.cancel' | translate }}</button>
7+
<button [routerLink]="getCollectionEditUrl(collection)" class="btn btn-outline-secondary">
8+
<i class="fas fa-arrow-left"></i>
9+
{{ 'collection.edit.template.back' | translate }}
10+
</button>
811
</ng-container>
912
<ds-themed-loading *ngIf="itemRD?.isLoading" [message]="'collection.edit.template.loading' | translate"></ds-themed-loading>
1013
<ds-alert *ngIf="itemRD?.hasFailed" [type]="AlertTypeEnum.Error" [content]="'collection.edit.template.error' | translate"></ds-alert>

src/assets/i18n/en.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@
13271327

13281328
"collection.edit.template.breadcrumbs": "Item template",
13291329

1330-
"collection.edit.template.cancel": "Cancel",
1330+
"collection.edit.template.back": "Back",
13311331

13321332
"collection.edit.template.delete-button": "Delete",
13331333

0 commit comments

Comments
 (0)