@@ -, +, @@ + lang instead of mtt only --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -138,8 +138,8 @@ $(document).ready(function() { } return true; } - function insertValueQuery(mtt_id) { - var fieldset = $("#" + mtt_id); + function insertValueQuery(containerid) { + var fieldset = $("#" + containerid); var myQuery = $(fieldset).find('textarea[name="content"]'); var myListBox = $(fieldset).find('select[name="SQLfieldname"]'); @@ -415,13 +415,13 @@ $(document).ready(function() { [% END %] [% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %] -
+
You should enable the SMSSendDriver preference to use the SMS templates.
[% ELSIF letter.message_transport_type == "phone" and not Koha.Preference("TalkingTechItivaPhoneNotification") %] -
+
You should enable the TalkingTechItivaPhoneNotification preference to use the phone templates.
[% ELSE %] -
+
[% END %]
  1. @@ -452,7 +452,7 @@ $(document).ready(function() { - + --