From: Jane Sandberg Date: Wed, 19 Dec 2018 23:51:25 +0000 (-0800) Subject: LP1809183: Allow passing template to eg-confirm-dialog X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a24517bd3998bf14215f11cae45e388acb979141;p=working%2FEvergreen.git LP1809183: Allow passing template to eg-confirm-dialog Adds an input called dialogBodyTemplate to . This can be useful when you want to pass ICU messages to (e.g. "Are you sure you want to cancel these 3 holds?" vs. "Are you sure you want to cancel this hold?"). If both dialogBody and dialogBodyTemplate are defined, it will show the dialogBodyTemplate message. Also adds a sandbox example. Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/share/dialog/confirm.component.html b/Open-ILS/src/eg2/src/app/share/dialog/confirm.component.html index 21766cac09..60cf3ef971 100644 --- a/Open-ILS/src/eg2/src/app/share/dialog/confirm.component.html +++ b/Open-ILS/src/eg2/src/app/share/dialog/confirm.component.html @@ -7,7 +7,14 @@ - +