From 83786d44c7e376567cef954593881fea6300c79f Mon Sep 17 00:00:00 2001 From: mkovalua Date: Wed, 8 Oct 2025 20:02:13 +0300 Subject: [PATCH] fix( ANG-631 ): cast 'Edit record' to 'Edit' to keep interface more consistent and keep order of icons more consistent between customer metadata and osf --- .../cedar-template-form.component.html | 20 +++++++++---------- src/assets/i18n/en.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/features/metadata/components/cedar-template-form/cedar-template-form.component.html b/src/app/features/metadata/components/cedar-template-form/cedar-template-form.component.html index 5450a0a2b..396b9a96e 100644 --- a/src/app/features/metadata/components/cedar-template-form/cedar-template-form.component.html +++ b/src/app/features/metadata/components/cedar-template-form/cedar-template-form.component.html @@ -8,16 +8,6 @@

{{ 'project.metadata.addMetadata.publishedText' | translate

{{ 'project.metadata.addMetadata.notPublishedText' | translate }}

}
- @if (showEditButton()) { - - - } - @if (!fileGuid()) { {{ 'project.metadata.addMetadata.notPublishedTe } + + @if (showEditButton()) { + + + }
} diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 355bd04eb..150b58713 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -994,7 +994,7 @@ "youAlreadyAddedText": "You have already added a record for this template", "youAlreadyAdded": "Already Added", "loadingCedar": "Loading CEDAR record...", - "editRecord": "Edit Record", + "editRecord": "Edit", "recordCreatedSuccessfully": "Record created successfully", "recordUpdatedSuccessfully": "Record updated successfully", "copyRecordMetadataUrl": "Copy url to clipboard to share.",