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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-privacy.tt (-7 / +6 lines)
Lines 34-62 Link Here
34
                    [% IF delete_all_requested || delete_checkouts_requested || delete_holds_requested %]
34
                    [% IF delete_all_requested || delete_checkouts_requested || delete_holds_requested %]
35
                        [% IF delete_all_requested || delete_checkouts_requested %]
35
                        [% IF delete_all_requested || delete_checkouts_requested %]
36
                            [% IF deleted_checkouts %]
36
                            [% IF deleted_checkouts %]
37
                                <div class="alert alert-success">Your checkout history has been deleted.</div>
37
                                <div class="alert alert-success" role="status">Your checkout history has been deleted.</div>
38
                            [% ELSIF error_deleting_checkouts_history %]
38
                            [% ELSIF error_deleting_checkouts_history %]
39
                                <div class="alert alert-warning"
39
                                <div class="alert alert-warning"
40
                                    >The deletion of your checkout history failed, because there is a problem with the configuration of this feature. Please help to fix the system by informing your library of this error</div
40
                                    >The deletion of your checkout history failed, because there is a problem with the configuration of this feature. Please help to fix the system by informing your library of this error</div
41
                                >
41
                                >
42
                            [% ELSIF no_checkouts_to_delete %]
42
                            [% ELSIF no_checkouts_to_delete %]
43
                                <div class="alert alert-warning">No checkout history to delete</div>
43
                                <div class="alert alert-warning" role="alert">No checkout history to delete</div>
44
                            [% END %]
44
                            [% END %]
45
                        [% END %]
45
                        [% END %]
46
46
47
                        [% IF delete_all_requested || delete_holds_requested %]
47
                        [% IF delete_all_requested || delete_holds_requested %]
48
                            [% IF deleted_holds %]
48
                            [% IF deleted_holds %]
49
                                <div class="alert alert-success">Your hold history has been deleted.</div>
49
                                <div class="alert alert-success" role="status">Your hold history has been deleted.</div>
50
                            [% ELSIF error_deleting_holds_history %]
50
                            [% ELSIF error_deleting_holds_history %]
51
                                <div class="alert alert-warning">The deletion of your hold history failed. Please help to fix the system by informing your library of this error</div>
51
                                <div class="alert alert-warning">The deletion of your hold history failed. Please help to fix the system by informing your library of this error</div>
52
                            [% ELSIF no_holds_to_delete %]
52
                            [% ELSIF no_holds_to_delete %]
53
                                <div class="alert alert-warning">No hold history to delete</div>
53
                                <div class="alert alert-warning" role="alert">No hold history to delete</div>
54
                            [% END %]
54
                            [% END %]
55
                        [% END %]
55
                        [% END %]
56
                    [% END %]
56
                    [% END %]
57
57
58
                    [% IF ( privacy_updated ) %]
58
                    [% IF ( privacy_updated ) %]
59
                        <div class="alert alert-success">Your privacy rules have been updated.</div>
59
                        <div class="alert alert-success" role="status">Your privacy rules have been updated.</div>
60
                    [% END %]
60
                    [% END %]
61
61
62
                    [% IF ( Ask_data ) %]
62
                    [% IF ( Ask_data ) %]
Lines 98-104 Link Here
98
                                    <!-- /.col-6 -->
98
                                    <!-- /.col-6 -->
99
                                </div>
99
                                </div>
100
                                <!-- /.form-group.row -->
100
                                <!-- /.form-group.row -->
101
                                <div id="never-warning" class="alert alert-danger">This option will delete all previous checkout history immediately.</div>
101
                                <div id="never-warning" class="alert alert-danger" role="alert">This option will delete all previous checkout history immediately.</div>
102
102
103
                                [% IF has_guarantor_flag && (Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') || Koha.Preference('AllowPatronToSetFinesVisibilityForGuarantor') ) %]
103
                                [% IF has_guarantor_flag && (Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') || Koha.Preference('AllowPatronToSetFinesVisibilityForGuarantor') ) %]
104
                                    [% IF Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') %]
104
                                    [% IF Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') %]
105
- 

Return to bug 40283