Skip to content

Commit

Permalink
Merged in CST-12822-coar-display-pattern-type (pull request DSpace#1075)
Browse files Browse the repository at this point in the history
CST-12822 notify request box with offerType
  • Loading branch information
frabacche committed Nov 30, 2023
2 parents 1153c90 + f4436a0 commit 48670dd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ export class NotifyStatuses {
* The status of the notification request.
*/
status: RequestStatusEnum;
/**
* Type of request.
*/
offerType: string;
}


Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
| translate
: {
serviceName: request.serviceName,
serviceUrl: request.serviceUrl
serviceUrl: request.serviceUrl,
offerType: request.offerType
}
"
></div>
Expand Down
6 changes: 3 additions & 3 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5705,10 +5705,10 @@

"access-control-option-end-date-note": "Select the date until which the related access condition is applied",

"request-status-alert-box.accepted": "The request for <a href='{{serviceUrl}}' target='_blank'> {{ serviceName }} </a> has been taken in charge.",
"request-status-alert-box.accepted": "The requested {{ offerType }} for <a href='{{serviceUrl}}' target='_blank'> {{ serviceName }} </a> has been taken in charge.",

"request-status-alert-box.rejected": "The request for <a href='{{serviceUrl}}' target='_blank'> {{ serviceName }} </a> has been rejected.",
"request-status-alert-box.rejected": "The requested {{ offerType }} for <a href='{{serviceUrl}}' target='_blank'> {{ serviceName }} </a> has been rejected.",

"request-status-alert-box.requested": "The request for <a href='{{serviceUrl}}' target='_blank'> {{ serviceName }} </a> is pending.",
"request-status-alert-box.requested": "The requested {{ offerType }} for <a href='{{serviceUrl}}' target='_blank'> {{ serviceName }} </a> is pending.",

}

0 comments on commit 48670dd

Please sign in to comment.