Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ <h3 class="text-lg">{{ 'project.metadata.addMetadata.publishedText' | translate
<h3 class="text-lg text-red-500">{{ 'project.metadata.addMetadata.notPublishedText' | translate }}</h3>
}
<div class="flex items-right">
@if (showEditButton()) {
<p-button
class="px-2 flex align-self-center"
severity="secondary"
[label]="'project.metadata.addMetadata.editRecord' | translate"
(onClick)="toggleEditModeEmit()"
>
</p-button>
}

@if (!fileGuid()) {
<p-button
severity="secondary"
Expand Down Expand Up @@ -50,6 +40,16 @@ <h3 class="text-lg text-red-500">{{ 'project.metadata.addMetadata.notPublishedTe
</ng-template>
</p-menu>
}

@if (showEditButton()) {
<p-button
class="px-2 flex align-self-center"
severity="secondary"
[label]="'project.metadata.addMetadata.editRecord' | translate"
(onClick)="toggleEditModeEmit()"
>
</p-button>
}
</div>
</div>
}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
Loading