View | Details | Raw Unified | Return to bug 20057
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/AutoApprovePatronProfileSettings.sql (-1 / +1 lines)
Lines 1-2 Link Here
1
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type`) VALUES
1
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type`) VALUES
2
('AutoApprovePatronProfileSettings', '0', '', 'Automatically approve Patron profile changes.', 'YesNo');
2
('AutoApprovePatronProfileSettings', '0', '', 'Automatically approve patron profile changes from the OPAC.', 'YesNo');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +2 lines)
Lines 78-84 Patrons: Link Here
78
           choices:
78
           choices:
79
               yes: Enable
79
               yes: Enable
80
               no: Disable
80
               no: Disable
81
         - "Automatically approve Patron profile changes."
81
         - "automatic approval of patron detail changes from the OPAC."
82
         - Requires OPACPatronDetails to be activated.
82
     -
83
     -
83
         - pref: ProtectSuperlibrarianPrivileges
84
         - pref: ProtectSuperlibrarianPrivileges
84
           choices:
85
           choices:
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry-update-submitted.tt (-2 / +1 lines)
Lines 26-32 Link Here
26
                        <div class="alert alert-success">
26
                        <div class="alert alert-success">
27
                            <h3>Thank you</h3>
27
                            <h3>Thank you</h3>
28
                          [% IF ( Koha.Preference('AutoApprovePatronProfileSettings') ) %]
28
                          [% IF ( Koha.Preference('AutoApprovePatronProfileSettings') ) %]
29
                            <p>Your updates have been submitted and accepted by the library.</p>
29
                            <p>Your updates have been submitted and your patron account has been modified.</p>
30
                          [% ELSE %]
30
                          [% ELSE %]
31
                            <p>Your updates have been submitted. A librarian will review your updates before applying them.</p>
31
                            <p>Your updates have been submitted. A librarian will review your updates before applying them.</p>
32
                          [% END %]
32
                          [% END %]
33
- 

Return to bug 20057