Bug 29002: Add bookings view
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / preservation / home.tt
1 [% USE raw %]
2 [% USE To %]
3 [% USE Asset %]
4 [% USE Koha %]
5 [% USE KohaDates %]
6 [% USE TablesSettings %]
7 [% USE AuthorisedValues %]
8 [% SET footerjs = 1 %]
9 [% PROCESS 'i18n.inc' %]
10 [% INCLUDE 'doc-head-open.inc' %]
11 <title>
12     Preservation &rsaquo; Koha
13 </title>
14 [% INCLUDE 'doc-head-close.inc' %]
15 </head>
16
17 <body id="preservation_home" class="preservation">
18 [% WRAPPER 'header.inc' %]
19     [% INCLUDE 'preservation-search.inc' %]
20 [% END %]
21
22 <div id="preservation"> <!-- this is closed in intranet-bottom.inc -->
23
24 [% MACRO jsinclude BLOCK %]
25     [% INCLUDE 'calendar.inc' %]
26     [% INCLUDE 'datatables.inc' %]
27     [% INCLUDE 'columns_settings.inc' %]
28     [% INCLUDE 'js-patron-format.inc' %]
29     [% INCLUDE 'js-date-format.inc' %]
30     [% INCLUDE 'js-biblio-format.inc' %]
31
32     <script>
33
34         const authorised_value_categories = [% To.json(AuthorisedValues.GetCategories()) | $raw %].map(c => c.category);
35         const db_columns = [% To.json(db_columns) | $raw %];
36         const api_mappings = [% To.json(api_mappings) | $raw %];
37         const notice_templates = [% To.json(notice_templates || []) | $raw %];
38
39         const csrf_token = "[% Koha.GenerateCSRF | $raw %]";
40
41     </script>
42
43     [% Asset.js("js/vue/dist/preservation.js") | $raw %]
44
45 [% END %]
46 [% INCLUDE 'intranet-bottom.inc' %]