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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc (-1 / +1 lines)
Lines 11-17 Link Here
11
        <th>Email</th>
11
        <th>Email</th>
12
        <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="fa fa-info-circle"></i></th>
12
        <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="fa fa-info-circle"></i></th>
13
        <!-- <th>RSS</th> -->
13
        <!-- <th>RSS</th> -->
14
        [% UNLESS ( messaging_form_inactive ) %]<th>Do not notify</th>[% END %]
14
        [% UNLESS ( messaging_form_inactive ) %]<th>Clear</th>[% END %]
15
    </tr>
15
    </tr>
16
    [% FOREACH messaging_preference IN messaging_preferences %]
16
    [% FOREACH messaging_preference IN messaging_preferences %]
17
    <tr>
17
    <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js (-1 / +1 lines)
Lines 36-42 $(document).ready(function(){ Link Here
36
                    return;
36
                    return;
37
                }
37
                }
38
            }
38
            }
39
            $(".none").prop("checked", false); // When loading default prefs the "Do not notify" boxes should be cleared
39
            $(".none").prop("checked", false); // When loading default prefs the "Clear" boxes should be cleared
40
            var jqxhr = $.getJSON('/cgi-bin/koha/members/default_messageprefs.pl?categorycode=' + categorycode, function(data) {
40
            var jqxhr = $.getJSON('/cgi-bin/koha/members/default_messageprefs.pl?categorycode=' + categorycode, function(data) {
41
                $.each(data.messaging_preferences, function(i, item) {
41
                $.each(data.messaging_preferences, function(i, item) {
42
                    var attrid = item.message_attribute_id;
42
                    var attrid = item.message_attribute_id;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt (-2 / +1 lines)
Lines 40-46 Link Here
40
                                        [% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %]
40
                                        [% IF ( TalkingTechItivaPhone ) %]<th>Phone</th>[% END %]
41
                                        <th>Email</th>
41
                                        <th>Email</th>
42
                                        <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="fa fa-info-circle"></i></th>
42
                                        <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="fa fa-info-circle"></i></th>
43
                                        <!-- <th>RSS</th> --><th>Do not notify</th>
43
                                        <th>Clear</th>
44
                                    </tr>
44
                                    </tr>
45
                                </thead>
45
                                </thead>
46
                                <tbody>
46
                                <tbody>
47
- 

Return to bug 22744