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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc (-4 / +16 lines)
Lines 63-69 $(document).ready(function(){ Link Here
63
      <td>-</td>
63
      <td>-</td>
64
      [% END %]
64
      [% END %]
65
65
66
      [% IF Koha.Preference('SMSSendDriver') %]<td>
66
      [% IF Koha.Preference('SMSSendDriver') %]
67
        [% IF ( messaging_preference.transport_sms ) %]
68
          <td>
67
          [% IF ( messaging_form_inactive ) %]
69
          [% IF ( messaging_form_inactive ) %]
68
              [% IF ( messaging_preference.transports_sms ) %]
70
              [% IF ( messaging_preference.transports_sms ) %]
69
                 <input type="checkbox"
71
                 <input type="checkbox"
Lines 89-97 $(document).ready(function(){ Link Here
89
                 value="sms" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
91
                 value="sms" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
90
              [% END %]
92
              [% END %]
91
          [% END %]
93
          [% END %]
92
      </td>[% END %]
94
          </td>
95
        [% ELSE %]
96
          <td>-</td>
97
        [% END %]
98
      [% END %]
93
99
94
      [% IF Koha.Preference('TalkingTechItivaPhoneNotification') %]<td>
100
      [% IF Koha.Preference('TalkingTechItivaPhoneNotification') %]
101
        [% IF ( messaging_preference.transport_phone ) %]
102
          <td>
95
          [% IF ( messaging_form_inactive ) %]
103
          [% IF ( messaging_form_inactive ) %]
96
              [% IF ( messaging_preference.transports_phone ) %]
104
              [% IF ( messaging_preference.transports_phone ) %]
97
                 <input type="checkbox"
105
                 <input type="checkbox"
Lines 117-123 $(document).ready(function(){ Link Here
117
                 value="phone" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
125
                 value="phone" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
118
              [% END %]
126
              [% END %]
119
          [% END %]
127
          [% END %]
120
      </td>[% END %]
128
          </td>
129
        [% ELSE %]
130
          <td>-</td>
131
        [% END %]
132
      [% END %]
121
133
122
      [% IF ( messaging_preference.transport_email ) %]
134
      [% IF ( messaging_preference.transport_email ) %]
123
      <td>
135
      <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt (-2 / +7 lines)
Lines 64-69 Link Here
64
                                            <td>-</td>
64
                                            <td>-</td>
65
                                        [% END %]
65
                                        [% END %]
66
                                        [% IF ( SMSSendDriver ) %]
66
                                        [% IF ( SMSSendDriver ) %]
67
                                          [% IF ( messaging_preference.transport_sms ) %]
67
                                            <td>
68
                                            <td>
68
                                                [% IF ( messaging_preference.transports_sms ) %]
69
                                                [% IF ( messaging_preference.transports_sms ) %]
69
                                                    <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" checked="checked" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
70
                                                    <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" checked="checked" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
Lines 71-80 Link Here
71
                                                    <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
72
                                                    <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
72
                                                [% END %]
73
                                                [% END %]
73
                                            </td>
74
                                            </td>
74
                                        [% ELSE %]
75
                                          [% ELSE %]
75
                                            <td>-</td>
76
                                            <td>-</td>
77
                                          [% END %]
76
                                        [% END %]
78
                                        [% END %]
77
                                        [% IF ( TalkingTechItivaPhone ) %]
79
                                        [% IF ( TalkingTechItivaPhone ) %]
80
                                            [% IF ( messaging_preference.transport_phone ) %]
78
                                            <td>
81
                                            <td>
79
                                              [% IF ( messaging_preference.transports_phone ) %]
82
                                              [% IF ( messaging_preference.transports_phone ) %]
80
                                              <input type="checkbox"
83
                                              <input type="checkbox"
Lines 88-93 Link Here
88
                                                         value="phone" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
91
                                                         value="phone" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
89
                                              [% END %]
92
                                              [% END %]
90
                                            </td>
93
                                            </td>
94
                                            [% ELSE %]
95
                                            <td>-</td>
96
                                            [% END %]
91
                                        [% END %]
97
                                        [% END %]
92
98
93
                                        [% IF ( messaging_preference.transport_email ) %]
99
                                        [% IF ( messaging_preference.transport_email ) %]
94
- 

Return to bug 18692