From: Galen Charlton Date: Tue, 21 Jul 2020 21:24:46 +0000 (-0400) Subject: LP#1777677: (follow-up) adjust test message buttons in registration form X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7d36c4a08d6920d4c6e9a787049d51839cd3144a;p=working%2FEvergreen.git LP#1777677: (follow-up) adjust test message buttons in registration form This patch: * moves the 'Send Test Email' button in the patron registration form to cuddle next to the 'Invalidate' button * disables the 'Send Test Email' button if the email address is changed on the form * disables the 'Send Test Text' button if the SMS carrier or SMS text number is changed on the form The point of the last two changes is to prevent staff members from sending a test message prior to saving changes to the email address or SMS number, as otherwise the test methods would not have access to the new values. Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index 05cd793840..d15538e1b0 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -461,10 +461,10 @@ within the "form" by name for validation.
[% draw_field_label('au', 'email') %] [% draw_form_input('au', 'email', '', 'email') %] -
- -
+ @@ -782,12 +782,15 @@ within the "form" by name for validation.
- +
@@ -798,6 +801,7 @@ within the "form" by name for validation.