Skip to content

Commit

Permalink
Merge pull request #1211 from ORCID/affiliationDeleteMessage
Browse files Browse the repository at this point in the history
removed unnecessary localize call
  • Loading branch information
auumgn authored Jun 4, 2024
2 parents c338888 + f1bf525 commit 6325272
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ui/src/app/affiliation/affiliation-delete.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ <h4 class="modal-title" i18n="@@entity.delete.title.string">Confirm deletion</h4
</div>
<div class="modal-body">
<app-alert-error></app-alert-error>
<p>added to orcid: {{ affiliation?.addedToORCID }}</p>
<p *ngIf="!affiliation?.addedToORCID" i18n="@@gatewayApp.assertionServiceAssertion.delete.fromPortal.string">
Are you sure you want to delete this affiliation from the portal?
</p>
<p *ngIf="affiliation?.addedToORCID">
affiliation hasn't been added to orcid. message should display now<br/>
message is: {{ message }}<br/>
message | localize should show below<br/>
{{ message | localize }}
{{ message }}
</p>
</div>
<div class="modal-footer">
Expand Down

0 comments on commit 6325272

Please sign in to comment.