Lines 1-3
Link Here
|
|
|
1 |
[% USE Koha %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Tools › Notices[% IF ( add_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate ) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]</title> |
3 |
<title>Koha › Tools › Notices[% IF ( add_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate ) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 310-316
$(document).ready(function() {
Link Here
|
310 |
|
311 |
|
311 |
[% FOREACH letter IN letters %] |
312 |
[% FOREACH letter IN letters %] |
312 |
<li> |
313 |
<li> |
313 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]"> |
314 |
[% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %] |
|
|
315 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]" disabled="disabled"> |
316 |
<div class="dialog message">You should enable the SMSSendDriver preference to use the sms templates.</div> |
317 |
[% ELSIF letter.message_transport_type == "phone" and not Koha.Preference("TalkingTechItivaPhoneNotification") %] |
318 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]" disabled="disabled"> |
319 |
<div class="dialog message">You should enable the TalkingTechItivaPhoneNotification preference to use the phone templates.</div> |
320 |
[% ELSE %] |
321 |
<fieldset class="rows mtt" id="[% letter.message_transport_type %]"> |
322 |
[% END %] |
314 |
<legend> |
323 |
<legend> |
315 |
[% SWITCH letter.message_transport_type %] |
324 |
[% SWITCH letter.message_transport_type %] |
316 |
[% CASE 'email' %] |
325 |
[% CASE 'email' %] |