6 [% IF module.keys and module.keys.size > 0 %]
8 [% FOR pagename IN module.keys %]
9 <a href="#[% pagename | url %]">[% pagename | html %]</a>
10 [% UNLESS loop.last %]<span class="separator"> | </span>[% END %]
13 <div class="pagelist">
14 <form method="post" action="/cgi-bin/koha/admin/columns_settings.pl">
15 <input type="hidden" name="action" value="save" />
16 <input type="hidden" name="module" value="[% modulename | html %]" />
17 <input type="hidden" name="panel" value="[% panel_id | html %]" />
18 [% SET panel_id = panel_id + 1 %]
19 [% IF module.keys and module.keys.size > 0 %]
20 [% FOR pagename IN module.keys %]
21 <h4 class="page_name" id="[% pagename | html %]">Page: [% pagename | html %]</h4>
22 [% SET tables = module %]
23 [% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %]
24 [% FOR tablename IN tables.$pagename.keys.sort %]
25 [% IF pagename == 'additem' AND tablename == 'itemst' %]
26 <div class="alert">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div>
30 [% IF tablename == 'currencies-table' %]
32 [% ELSIF pagename == 'additem' AND tablename == 'itemst' %]
35 Table id: [% tablename | html %]
41 <th>Is hidden by default</th>
42 <th>Cannot be toggled</th>
46 [% FOR column IN tables.$pagename.$tablename %]
47 [% SET value = pagename _ '#' _ tablename _ '#' _ column.columnname %]
50 [% column.columnname | html %]
51 <input type="hidden" name="columnid" value="[% value | html %]" />
54 [% IF column.is_hidden %]
55 [% IF column.cannot_be_modified %]
56 <input type="checkbox" name="[% value | html %]_hidden" value="1" checked="checked" disabled="disabled" />
57 <input type="hidden" name="[% value | html %]_hidden" value="1" />
59 <input type="checkbox" name="[% value | html %]_hidden" value="1" checked="checked" />
62 [% IF column.cannot_be_modified %]
63 <input type="checkbox" name="[% value | html %]_hidden" value="1" disabled="disabled" />
64 <input type="hidden" name="[% value | html %]_hidden" value="0" />
66 <input type="checkbox" name="[% value | html %]_hidden" value="1" />
71 [% IF column.cannot_be_toggled %]
72 [% IF column.cannot_be_modified %]
73 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" checked="checked" disabled="disabled" />
74 <input type="hidden" name="[% value | html %]_cannot_be_toggled" value="1" />
76 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" checked="checked" />
79 [% IF column.cannot_be_modified %]
80 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" disabled="disabled" />
81 <input type="hidden" name="[% value | html %]_cannot_be_toggled" value="0" />
83 <input type="checkbox" name="[% value | html %]_cannot_be_toggled" value="1" />
92 <fieldset class="action">
93 <input type="submit" value="Save" />
96 There is no table to configure for this module.
100 There is no page using the table configuration in this module.
106 [% INCLUDE 'doc-head-open.inc' %]
107 <title>Koha › Administration › Columns settings</title>
108 [% INCLUDE 'doc-head-close.inc' %]
114 border-top: 1px solid #b9d8d9;
121 <body id="admin_tables" class="admin">
123 [% INCLUDE 'header.inc' %]
124 [% INCLUDE 'prefs-admin-search.inc' %]
125 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › Columns settings</div>
127 <div class="main container-fluid">
129 <div class="col-sm-10 col-sm-push-2">
132 <h2>Columns settings</h2>
134 <div class="panel_header"><a href="#acqui">Acquisition</a></div>
136 <h3>Acquisition tables</h3>
137 [% PROCESS pagelist module=modules.acqui modulename="acqui" %]
140 <div class="panel_header"><a href="#admin">Administration</a></div>
142 <h3>Administration tables</h3>
143 [% PROCESS pagelist module=modules.admin modulename="admin" %]
146 <div class="panel_header"><a href="#authorities">Authorities</a></div>
147 <div id="authorities">
148 <h3>Authorities tables</h3>
149 [% PROCESS pagelist module=modules.authorities modulename="authorities" %]
152 <div class="panel_header"><a href="#catalog">Catalog</a></div>
154 <h3>Catalogue tables</h3>
155 [% PROCESS pagelist module=modules.catalogue modulename="catalogue" %]
158 <div class="panel_header"><a href="#cataloguing">Cataloging</a></div>
159 <div id="cataloguing">
160 <h3>Cataloguing tables</h3>
161 [% PROCESS pagelist module=modules.cataloguing modulename="cataloguing" %]
164 <div class="panel_header"><a href="#circulation">Circulation</a></div>
165 <div id="circulation">
166 <h3>Circulation tables</h3>
167 [% PROCESS pagelist module=modules.circ modulename="circ" %]
170 <div class="panel_header"><a href="#coursereserves">Course reserves</a></div>
171 <div id="coursereserves">
172 <h3>Course reserves tables</h3>
173 [% PROCESS pagelist module=modules.coursereserves modulename="coursereserves" %]
176 <div class="panel_header"><a href="#ill">Interlibrary loans</a></div>
178 <h3>Interlibrary loans tables</h3>
179 [% PROCESS pagelist module=modules.illrequests modulename="illrequests" %]
182 <div class="panel_header"><a href="#members">Patrons</a></div>
184 <h3>Patrons tables</h3>
185 [% PROCESS pagelist module=modules.members modulename="members" %]
188 <div class="panel_header"><a href="#tools">Tools</a></div>
190 <h3>Tools tables</h3>
191 [% PROCESS pagelist module=modules.tools modulename="tools" %]
194 <div class="panel_header"><a href="#opac">OPAC</a></div>
197 [% PROCESS pagelist module=modules.opac modulename="opac" %]
200 <div class="panel_header"><a href="#reports">Reports</a></div>
202 <h3>Reports tables</h3>
203 [% PROCESS pagelist module=modules.reports modulename="reports" %]
206 <div class="panel_header"><a href="#serials">Serials</a></div>
208 <h3>Serials tables</h3>
209 [% PROCESS pagelist module=modules.serials modulename="serials" %]
214 </div> <!-- /.col-sm-10.col-sm-push-2 -->
216 <div class="col-sm-2 col-sm-pull-10">
218 [% INCLUDE 'admin-menu.inc' %]
220 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
221 </div> <!-- /.row -->
223 [% MACRO jsinclude BLOCK %]
224 [% Asset.js("js/admin-menu.js") | $raw %]
226 $(document).ready( function() {
227 var accordion = $( "#modules" ).accordion({
230 header: ".panel_header",
232 [%# we were asked to show a specific panel, usually on update %]
233 active: [%- panel | html -%]
241 [% INCLUDE 'intranet-bottom.inc' %]