From 523beea71270451e4790e1dcb42e53f5641a2dc0 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 25 Feb 2016 13:52:29 -0500 Subject: [PATCH] LP#1527342 Improve display of C/O history delete warning Move the history warning to the top of the form for visbility and avoid displaying the success message when the warning is also displayed. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier --- .../src/templates/opac/myopac/prefs_settings.tt2 | 24 ++++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 b/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 index edefb5c581..e98f6dda42 100644 --- a/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 +++ b/Open-ILS/src/templates/opac/myopac/prefs_settings.tt2 @@ -12,7 +12,18 @@ title="[% l('Search and History Preferences') %]"> - [% IF ctx.updated_user_settings %] + [% IF ctx.confirm_history_delete %] + +
+ [% l('Disabling checkout or holds history will permanently remove all items from your history.') %] +
+ [% l('Are you sure you wish to continue?') %] +
+ [% l('Cancel') %] + + + + [% ELSIF ctx.updated_user_settings %]
[% l('Account Successfully Updated') %] @@ -123,16 +134,7 @@ - [% IF ctx.confirm_history_delete %] -
- [% l('Disabling checkout or holds history will permanently remove all items from your history.') %] -
- [% l('Are you sure you wish to continue?') %] -
- [% l('Cancel') %] - - - [% ELSE %] + [% IF !ctx.confirm_history_delete %] [% END %] -- 2.11.0