Bug 23680: Incorrect conversion of Perl boolean to js
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / includes / str / cataloging_additem.inc
1 [% USE raw %]
2 <script>
3     var searchid = '[% searchid | html %]';
4     var biblionumber = '[% biblionumber | html %]';
5     var frameworkcode = '[% frameworkcode | html %]';
6     [% IF popup %]
7       var popup = true;
8     [% ELSE %]
9       var popup = false;
10     [% END %]
11     var op = '[% op | html %]';
12     var LABEL_EDIT_ITEM = _("Edit item");
13     var LABEL_DELETE_ITEM = _("Delete item");
14     var MSG_FORM_NOT_SUBMITTED = _("Form not submitted because of the following problem(s)");
15     var MSG_MANDATORY_FIELDS_EMPTY = _("%s mandatory fields empty (highlighted)");
16     var MSG_ADD_MULTIPLE_ITEMS = _("You are about to add %s items. Continue?");
17     var MSG_ENTER_NUM_ITEMS = _("Please enter a number of items to create.");
18     var MSG_CONFIRM_DELETE_ITEM = _("Are you sure you want to delete this item?");
19     var MSG_CONFIRM_ADD_ITEM = _("Are you sure you want to add a new item? Any changes made on this page will be lost.");
20     var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) | $raw %];
21 </script>