From: Bill Erickson Date: Thu, 25 Feb 2016 18:52:29 +0000 (-0500) Subject: LP#1527342 Improve display of C/O history delete warning X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fberick%2Flp1527342-decouple-co-history-squash1;p=working%2FEvergreen.git 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 --- 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 %]