[% IF op == 'list_tables' %]
[% IF CAN_user_acquisitions_order_manage || CAN_user_serials_edit_subscription || CAN_user_updatecharges_remaining_permissions %]
<h1>Additional fields</h1>
- <p>Select a table:</p>
- [% BLOCK table_option %]
- <li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li>
- [% END %]
- <ul>
- [% IF CAN_user_acquisition_order_manage %]
- [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %]
- [% END %]
- [% IF CAN_user_acquisition_edit_invoices %]
- [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %]
- [% END %]
- [% IF CAN_user_serials_edit_subscription %]
- [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %]
+
+ <div class="page-section">
+ <p>Select a table:</p>
+ [% BLOCK table_option %]
+ <li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li>
[% END %]
- [% IF CAN_user_updatecharges_remaining_permissions %]
- [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %]
- [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %]
+ <ul>
+ [% IF CAN_user_acquisition_order_manage %]
+ [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %]
+ [% END %]
+ [% IF CAN_user_acquisition_edit_invoices %]
+ [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %]
+ [% END %]
+ [% IF CAN_user_serials_edit_subscription %]
+ [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %]
+ [% END %]
+ [% IF CAN_user_updatecharges_remaining_permissions %]
+ [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %]
+ [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %]
+ [% END %]
+ </ul>
+ [% ELSE %]
+ Additional permissions are required for editing additional fields
[% END %]
- </ul>
- [% ELSE %]
- Additional permissions are required for editing additional fields
- [% END %]
+ </div><!-- /.page-section -->
[% ELSIF op == 'list' %]
<h1>Additional fields for '[% tablename | html %]'</h1>
[% IF fields %]
</span>
</div>
[% END %]
-
+<div class="page-section">
<table id="budgeth" class="group">
<thead>
<tr>
[% END %]
</tbody>
</table>
+</div> <!-- /.page-section -->
[% ELSE %]
<p>No fund found</p>
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
+<div class="page-section">
<table id="table_authsubfieldstructure">
<thead>
<tr>
[% END %]
</tbody>
</table>
+</div> <!-- /.page-section -->
<form action="[% script_name | html %]" method="get">
<fieldset class="action"><input type="hidden" name="op" value="add_form" />
</form><br />
<div id="pagertable_authtagstructure">
</div>
+
+<div class="page-section">
<table id="table_authtagstructure">
<thead>
<tr>
[% END %]
</tbody>
</table>
-
+</div> <!-- /.page-section -->
[% END %]
</main>
<h1>Authority types</h1>
<p>Define authority types, then authority MARC structure in the same way you define itemtypes and bibliographic MARC tag structure. Authority values are managed through plugins</p>
- <table id="authtypes">
- <thead>
- <tr>
- <th>Code</th>
- <th>Description</th>
- <th>Summary</th>
- <th>Auth field copied</th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
- [% FOREACH authority_type IN authority_types %]
+
+ <div class="page-section">
+ <table id="authtypes">
+ <thead>
<tr>
- <td>[% authority_type.authtypecode | html %]</td>
- <td>[% authority_type.authtypetext | html %]</td>
- <td>[% authority_type.summary | html %]</td>
- <td>[% authority_type.auth_tag_to_report | html %]</td>
- <td>
- <div class="btn-group dropup">
- <a class="btn btn-default btn-xs dropdown-toggle" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
- Actions <b class="caret"></b></a>
- <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
- <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
- <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
- [% IF authority_type.authtypecode %]<li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-trash"></i> Delete</a></li>[% END %]
- <!-- Button to trigger modal -->
- <li><a href="#" data-toggle="modal" data-target="#exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Export authority type (fields, subfields) to a spreadsheet file (.csv, .ods)"><i class="fa fa-upload"></i> Export</a></li>
- <!-- Button to trigger modal -->
- <li><a href="#" data-toggle="modal" data-target="#importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Import authority type (fields, subfields) from a spreadsheet file (.csv, .ods)"><i class="fa fa-download"></i> Import</a></li>
- </ul>
- </div>
+ <th>Code</th>
+ <th>Description</th>
+ <th>Summary</th>
+ <th>Auth field copied</th>
+ <th> </th>
+ </tr>
+ </thead>
+ <tbody>
+ [% FOREACH authority_type IN authority_types %]
+ <tr>
+ <td>[% authority_type.authtypecode | html %]</td>
+ <td>[% authority_type.authtypetext | html %]</td>
+ <td>[% authority_type.summary | html %]</td>
+ <td>[% authority_type.auth_tag_to_report | html %]</td>
+ <td>
+ <div class="btn-group dropup">
+ <a class="btn btn-default btn-xs dropdown-toggle" id="authtypeactions[% authority_type.authtypecode | html %]" role="button" data-toggle="dropdown" href="#">
+ Actions <b class="caret"></b></a>
+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode | html %]">
+ <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode | uri %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li>
+ <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
+ [% IF authority_type.authtypecode %]<li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&authtypecode=[% authority_type.authtypecode | uri %]"><i class="fa fa-trash"></i> Delete</a></li>[% END %]
+ <!-- Button to trigger modal -->
+ <li><a href="#" data-toggle="modal" data-target="#exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Export authority type (fields, subfields) to a spreadsheet file (.csv, .ods)"><i class="fa fa-upload"></i> Export</a></li>
+ <!-- Button to trigger modal -->
+ <li><a href="#" data-toggle="modal" data-target="#importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" title="Import authority type (fields, subfields) from a spreadsheet file (.csv, .ods)"><i class="fa fa-download"></i> Import</a></li>
+ </ul>
+ </div>
- <!-- Modal for export -->
- <div class="modal" id="exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
- <h3 id="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Export [% authority_type.authtypetext | html %] authority type</h3>
- </div>
- <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_[% authority_type.authtypecode | html %]" method="get" target="_blank" class="form_export">
- <div class="modal-body">
- <fieldset>
- <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
- <p><label for="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="csv" id="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" checked="checked" /> Export to CSV spreadsheet</label></p>
- <p><label for="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="ods" id="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" /> Export to OpenDocument spreadsheet format</label></p>
- </fieldset>
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-default">Export</button>
- <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
- </div>
- </form>
- </div>
- </div>
- </div>
+ <!-- Modal for export -->
+ <div class="modal" id="exportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
+ <h3 id="exportLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Export [% authority_type.authtypetext | html %] authority type</h3>
+ </div>
+ <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_[% authority_type.authtypecode | html %]" method="get" target="_blank" class="form_export">
+ <div class="modal-body">
+ <fieldset>
+ <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
+ <p><label for="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="csv" id="csv_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" checked="checked" /> Export to CSV spreadsheet</label></p>
+ <p><label for="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]"><input type="radio" name="type_export_[% authority_type.authtypecode | html %]" value="ods" id="ods_type_export_[% authority_type.authtypecode | html %][% loop.count | html %]" /> Export to OpenDocument spreadsheet format</label></p>
+ </fieldset>
+ </div>
+ <div class="modal-footer">
+ <button type="submit" class="btn btn-default">Export</button>
+ <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
- <!-- Modal for import -->
- <div class="modal" id="importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
- <h3 id="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Import [% authority_type.authtypecode | html %] authority type (fields and subfields) from a spreadsheet file (.csv, .ods)</h3>
- </div>
- <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_i_[% authority_type.authtypecode | html %]" id="form_i_[% authority_type.authtypecode | html %]" method="post" enctype="multipart/form-data" class="form_import">
- <div class="modal-body">
- <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
- <input type="hidden" name="action" value="import" />
- <p><label for="file_import_[% authority_type.authtypecode | html %]">Upload file:</label> <input type="file" name="file_import_[% authority_type.authtypecode | html %]" id="file_import_[% authority_type.authtypecode | html %]" class="input_import" /></p>
- <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
- </div>
- <div class="modal-footer">
- <button type="submit" class="btn btn-default">Import</button>
- <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
- </div>
- </form>
- </div>
- </div>
- </div>
+ <!-- Modal for import -->
+ <div class="modal" id="importModal_[% authority_type.authtypecode | html %][% loop.count | html %]" tabindex="-1" role="dialog" aria-labelledby="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]" aria-hidden="true">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
+ <h3 id="importLabelexportModal_[% authority_type.authtypecode | html %][% loop.count | html %]">Import [% authority_type.authtypecode | html %] authority type (fields and subfields) from a spreadsheet file (.csv, .ods)</h3>
+ </div>
+ <form action="/cgi-bin/koha/admin/import_export_authtype.pl" name="form_i_[% authority_type.authtypecode | html %]" id="form_i_[% authority_type.authtypecode | html %]" method="post" enctype="multipart/form-data" class="form_import">
+ <div class="modal-body">
+ <input type="hidden" name="authtypecode" value="[% authority_type.authtypecode | html %]" />
+ <input type="hidden" name="action" value="import" />
+ <p><label for="file_import_[% authority_type.authtypecode | html %]">Upload file:</label> <input type="file" name="file_import_[% authority_type.authtypecode | html %]" id="file_import_[% authority_type.authtypecode | html %]" class="input_import" /></p>
+ <div id="importing_[% authority_type.authtypecode | html %]" style="display:none" class="importing"><img src="[% interface | html %]/[% theme | html %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
+ </div>
+ <div class="modal-footer">
+ <button type="submit" class="btn btn-default">Import</button>
+ <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Close</button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
- </td>
- </tr>
- [% END %]
- <tbody>
- </table>
+ </td>
+ </tr>
+ [% END %]
+ <tbody>
+ </table>
+ </div> <!-- /.page-section -->
[% END %]
</main>
[% IF op == 'list' %]
<h1>MARC frameworks</h1>
-
+<div class="page-section">
<table id="table_biblio_frameworks">
<thead>
<tr>
[% END %]
</table>
-
+</div> <!-- /.page-section -->
[% END %]
</main>
<main>
<h1>MARC bibliographic framework test</h1>
+
+<div class="page-section">
<table>
<tr>
<th>Test</th>
[% ELSE %]
</table>
<p><strong>Configuration OK, you don't have errors in your MARC parameters table</strong></p>
+ </div> <!-- /.page-section -->
[% END %]
</main>
<a class="btn btn-default" id="newrule" href="[% script_name | url %]?op=add_split_rule"><i class="fa fa-plus"></i> New splitting rule</a>
</div>
<h1>Classification configuration</h1>
+<div class="page-section">
<h2>Classification sources</h2>
<table>
<tr>
</tr>
[% END %]
</table>
+</div> <!-- /.page-section -->
+<div class="page-section">
<h2>Classification filing rules</h2>
<table>
<tr>
</tr>
[% END %]
</table>
+</div> <!-- /.page-section -->
+<div class="page-section">
<h2>Classification splitting rules</h2>
<table>
<tr>
</tr>
[% END %]
</table>
+</div> <!-- /.page-section -->
[% END %]
You searched for [% searchfield | html %]</span>
[% END %]
- <table id='currencies-table'>
- <thead>
- <tr>
- <th>Currency</th>
- <th>Rate</th>
- <th>Symbol</th>
- <th>ISO code</th>
- <th>Last updated</th>
- <th>Active</th>
- <th>Archived</th>
- <th class="NoSort noExport">Actions</th>
- </tr>
- </thead>
- <tbody>
- [% FOREACH currency IN currencies %]
- <tr>
- <td>[% currency.currency | html %]</td>
- <td>[% currency.rate | html %]</td>
- <td>[% currency.symbol | html %]</td>
- <td>[% currency.isocode | html %]</td>
- <td data-order="[% currency.timestamp | html %]">[% currency.timestamp | $KohaDates %]</td>
- <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
- <td>[% IF currency.archived %]Yes[% END %]</td>
- <td class="actions">
- <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=add_form&currency_code=[% currency.currency | html %]"><i class="fa fa-pencil"></i> Edit</a>
- <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=delete_confirm&currency_code=[% currency.currency | html %]"><i class="fa fa-trash"></i> Delete</a>
- </td>
- </tr>
- [% END %]
- </tbody>
- </table>
+ <div class="page-section">
+ <table id='currencies-table'>
+ <thead>
+ <tr>
+ <th>Currency</th>
+ <th>Rate</th>
+ <th>Symbol</th>
+ <th>ISO code</th>
+ <th>Last updated</th>
+ <th>Active</th>
+ <th>Archived</th>
+ <th class="NoSort noExport">Actions</th>
+ </tr>
+ </thead>
+ <tbody>
+ [% FOREACH currency IN currencies %]
+ <tr>
+ <td>[% currency.currency | html %]</td>
+ <td>[% currency.rate | html %]</td>
+ <td>[% currency.symbol | html %]</td>
+ <td>[% currency.isocode | html %]</td>
+ <td data-order="[% currency.timestamp | html %]">[% currency.timestamp | $KohaDates %]</td>
+ <td style="color:green;">[% IF currency.active %]✓[% END %]</td>
+ <td>[% IF currency.archived %]Yes[% END %]</td>
+ <td class="actions">
+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=add_form&currency_code=[% currency.currency | html %]"><i class="fa fa-pencil"></i> Edit</a>
+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/currency.pl?op=delete_confirm&currency_code=[% currency.currency | html %]"><i class="fa fa-trash"></i> Delete</a>
+ </td>
+ </tr>
+ [% END %]
+ </tbody>
+ </table>
+ </div>
- <br />
<div class="hint">
<p>
When importing MARC files via the staging tools, the tool will attempt to find and use the price of the currently active currency.
[% IF display %]
[% IF ( ediaccounts ) %]
<h1>Vendor EDI accounts</h1>
-
+<div class="page-section">
<table>
<tr>
<th>ID</th>
</tr>
[% END %]
</table>
+</div> <!-- /.page-section -->
[% ELSE %]
<div class="dialog message">
There are no EDI accounts.
[% IF display %]
<h1>Library EANs</h1>
[% IF ( eans ) %]
+ <div class="page-section">
<table>
<tr>
<th>Library</th>
</tr>
[% END %]
</table>
+ </div> <!-- /.page-section -->
[% ELSE %]
<div class="dialog message">
There are no library EANs.
[% IF fields.size %]
<div id="search_fields_list">
<h1>Item search fields</h1>
-
+ <div class="page-section">
<table id="search_fields_table">
<thead>
<tr>
[% END %]
</tbody>
</table>
- </div>
+ </div> <!-- /.page-section -->
[% ELSE %]
<h1>Item search fields</h1>
<div class="dialog message">
<div class="dialog alert">Failed to add mapping for [% error_info | html %]</div>
[% END %]
+<div class="page-section">
<table id="kohafields">
<thead><tr>
<th>Koha field</th>
[% END %]
</tbody>
</table>
-
+</div> <!-- /.page-section -->
<input id="remove_field" name="remove_field" type="hidden" value=""/>
<input id="add_field" name="add_field" type="hidden" value=""/>
</div>
[% END %]
+ <div class="page-section">
<form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
<table id="marc-overlay-rules">
<thead><tr>
</tbody>
</table>
</form>
+ </div> <!-- /.page-section -->
<form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
<input type="hidden" name="op" value="redo-matching" />
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
<p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
- <table id="table_marcsubfieldstructure">
- <thead>
- <tr>
- <th>Subfield</th>
- <th>Text</th>
- <th>Constraints</th>
- <th class="NoSort noExport">Actions</th>
- </tr>
- </thead>
- <tbody>
- [% FOREACH loo IN loop %]
+ <div class="page-section">
+ <table id="table_marcsubfieldstructure">
+ <thead>
<tr>
- <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field">[% loo.tagsubfield | html %]</a></td>
- <td>
- [% IF loo.tab == -1 %]
- <em>[% loo.liblibrarian | html_entity %]</em>
- [% ELSE %]
- [% loo.liblibrarian | html_entity %]
- [% END %]
- </td>
- <td>
- [% IF loo.tab == -1 %]
- <em>subfield ignored</em>
- [% ELSE %]
- <span>Tab:</span>[% loo.tab | html %],
- [% IF ( loo.kohafield ) %] | <span>Koha field:</span> [% loo.kohafield | html %], [% END %]
- [% IF ( loo.repeatable ) %]<span>Repeatable</span>, [% ELSE %]<span>Not repeatable</span>,[% END %]
- [% IF ( loo.mandatory ) %]<span>Mandatory</span>, [% ELSE %]<span>Not mandatory</span>,[% END %]
- [% IF ( loo.important ) %]<span>Important</span>, [% ELSE %]<span>Not important</span>,[% END %]
- [% IF ( loo.seealso ) %] | <span>See also:</span> [% loo.seealso | html %],[% END %]
- [% IF ( loo.hidden ) %]<span>hidden</span>,[% END %]
- [% IF ( loo.isurl ) %]<span>is a URL</span>,[% END %]
- [% IF ( loo.authorised_value ) %] | <span>Auth value:</span>[% loo.authorised_value | html %],[% END %]
- [% IF ( loo.authtypecode ) %] | <span>Authority:</span>[% loo.authtypecode | html %],[% END %]
- [% IF ( loo.value_builder ) %] | <span>Plugin:</span>[% loo.value_builder | html %],[% END %]
- [% IF ( loo.link ) %] | <span>Link:</span>[% loo.link | html %],[% END %]
- [% END %]
- </td>
- <td class="actions">
- <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
- <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
- </td>
+ <th>Subfield</th>
+ <th>Text</th>
+ <th>Constraints</th>
+ <th class="NoSort noExport">Actions</th>
</tr>
- [% END %]
- </tbody>
- </table> <!-- /#table_marcsubfieldstructure -->
+ </thead>
+ <tbody>
+ [% FOREACH loo IN loop %]
+ <tr>
+ <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field">[% loo.tagsubfield | html %]</a></td>
+ <td>
+ [% IF loo.tab == -1 %]
+ <em>[% loo.liblibrarian | html_entity %]</em>
+ [% ELSE %]
+ [% loo.liblibrarian | html_entity %]
+ [% END %]
+ </td>
+ <td>
+ [% IF loo.tab == -1 %]
+ <em>subfield ignored</em>
+ [% ELSE %]
+ <span>Tab:</span>[% loo.tab | html %],
+ [% IF ( loo.kohafield ) %] | <span>Koha field:</span> [% loo.kohafield | html %], [% END %]
+ [% IF ( loo.repeatable ) %]<span>Repeatable</span>, [% ELSE %]<span>Not repeatable</span>,[% END %]
+ [% IF ( loo.mandatory ) %]<span>Mandatory</span>, [% ELSE %]<span>Not mandatory</span>,[% END %]
+ [% IF ( loo.important ) %]<span>Important</span>, [% ELSE %]<span>Not important</span>,[% END %]
+ [% IF ( loo.seealso ) %] | <span>See also:</span> [% loo.seealso | html %],[% END %]
+ [% IF ( loo.hidden ) %]<span>hidden</span>,[% END %]
+ [% IF ( loo.isurl ) %]<span>is a URL</span>,[% END %]
+ [% IF ( loo.authorised_value ) %] | <span>Auth value:</span>[% loo.authorised_value | html %],[% END %]
+ [% IF ( loo.authtypecode ) %] | <span>Authority:</span>[% loo.authtypecode | html %],[% END %]
+ [% IF ( loo.value_builder ) %] | <span>Plugin:</span>[% loo.value_builder | html %],[% END %]
+ [% IF ( loo.link ) %] | <span>Link:</span>[% loo.link | html %],[% END %]
+ [% END %]
+ </td>
+ <td class="actions">
+ <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&frameworkcode=[% frameworkcode | uri %]#sub[% loo.tagsubfield | uri %]field" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
+ <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&tagfield=[% loo.tagfield | uri %]&tagsubfield=[% loo.tagsubfield | uri %]&frameworkcode=[% frameworkcode | uri %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a>
+ </td>
+ </tr>
+ [% END %]
+ </tbody>
+ </table> <!-- /#table_marcsubfieldstructure -->
+ </div><!-- /.page-section -->
<form action="[% script_name | html %]" method="get">
<fieldset class="action"><input type="hidden" name="op" value="add_form" />
</fieldset>
</form>
+<div class="page-section">
<table id="table_marctagstructure">
<thead>
<tr>
[% END %]
</tbody>
</table>
+ </div> <!-- /.page-section -->
[% END %]
</main>
<div class="dialog message">Deleted record matching rule "[% deleted_matching_rule | html %]"</div>
[% END %]
[% IF ( available_matching_rules ) %]
- <table>
- <tr>
- <th>#</th>
- <th>Code</th>
- <th>Description</th>
- <th class="noExport">Actions</th>
- </tr>
- [% FOREACH available_matching_rule IN available_matching_rules %]
+ <div class="page-section">
+ <table>
<tr>
- <td>[% available_matching_rule.matcher_id | html %]</td>
- <td>[% available_matching_rule.code | html %]</td>
- <td>[% available_matching_rule.description | html %]</td>
- <td class="actions">
- <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=edit_matching_rule&matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-pencil"></i> Edit</a>
- <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=delete_matching_rule&matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-trash"></i> Delete</a>
- </td>
+ <th>#</th>
+ <th>Code</th>
+ <th>Description</th>
+ <th class="noExport">Actions</th>
</tr>
- [% END %]
- </table>
+ [% FOREACH available_matching_rule IN available_matching_rules %]
+ <tr>
+ <td>[% available_matching_rule.matcher_id | html %]</td>
+ <td>[% available_matching_rule.code | html %]</td>
+ <td>[% available_matching_rule.description | html %]</td>
+ <td class="actions">
+ <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=edit_matching_rule&matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-pencil"></i> Edit</a>
+ <a class="btn btn-default btn-xs" href="[% available_matching_rule.script_name | url %]?op=delete_matching_rule&matcher_id=[% available_matching_rule.matcher_id | uri %]"><i class="fa fa-trash"></i> Delete</a>
+ </td>
+ </tr>
+ [% END %]
+ </table>
+ </div> <!-- /.page-section -->
[% ELSE %]
<p>There are no saved matching rules.</p>
[% END # /IF ( available_matching_rules ) %]
<h1>OAI sets</h1>
[% IF sets_loop %]
- <table>
- <thead>
- <tr>
- <th>setSpec</th>
- <th>setName</th>
- <th>setDescriptions</th>
- <th> </th>
- </tr>
- </thead>
- <tbody>
- [% FOREACH set IN sets_loop %]
+ <div class="page-section">
+ <table>
+ <thead>
<tr>
- <td>[% set.spec | html %]</td>
- <td>[% set.name | html %]</td>
- <td>
- [% IF set.descriptions %]
- <ul>
- [% FOREACH desc IN set.descriptions %]
- <li>[% desc.description | html %]</li>
- [% END %]
- </ul>
- [% ELSE %]
- <em>No descriptions</em>
- [% END %]
- </td>
- <td>
- <div class="btn-group dropup">
- <a class="btn btn-default btn-xs dropdown-toggle" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
- Actions <b class="caret"></b></a>
- <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
- <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&id=[% set.id | uri %]"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
- <li><a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&id=[% set.id | html %]"><i class="fa fa-fw fa-trash"></i> Delete</a></li>
- <li><a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id | uri %]"><i class="fa fa-fw fa-info"></i> Define mappings</a></li>
- </ul>
- </div>
- </td>
+ <th>setSpec</th>
+ <th>setName</th>
+ <th>setDescriptions</th>
+ <th> </th>
</tr>
- [% END %]
- </tbody>
- </table>
+ </thead>
+ <tbody>
+ [% FOREACH set IN sets_loop %]
+ <tr>
+ <td>[% set.spec | html %]</td>
+ <td>[% set.name | html %]</td>
+ <td>
+ [% IF set.descriptions %]
+ <ul>
+ [% FOREACH desc IN set.descriptions %]
+ <li>[% desc.description | html %]</li>
+ [% END %]
+ </ul>
+ [% ELSE %]
+ <em>No descriptions</em>
+ [% END %]
+ </td>
+ <td>
+ <div class="btn-group dropup">
+ <a class="btn btn-default btn-xs dropdown-toggle" id="oaisetsactions[% set.id | html %]" role="button" data-toggle="dropdown" href="#">
+ Actions <b class="caret"></b></a>
+ <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="oaisetsactions[% set.id | html %]">
+ <li><a href="/cgi-bin/koha/admin/oai_sets.pl?op=mod&id=[% set.id | uri %]"><i class="fa fa-fw fa-pencil"></i> Edit</a></li>
+ <li><a class="delete_oai_set" href="/cgi-bin/koha/admin/oai_sets.pl?op=del&id=[% set.id | html %]"><i class="fa fa-fw fa-trash"></i> Delete</a></li>
+ <li><a href="/cgi-bin/koha/admin/oai_set_mappings.pl?id=[% set.id | uri %]"><i class="fa fa-fw fa-info"></i> Define mappings</a></li>
+ </ul>
+ </div>
+ </td>
+ </tr>
+ [% END %]
+ </tbody>
+ </table>
+ </div> <!-- /.page-section -->
[% ELSE %]
<div class="dialog message"><p>There are no sets defined.</p></div>
[% END %]
</div>
[% IF servers_count > 0 %]
- <table id="smtp_servers">
- <thead>
- <tr>
- <th>Name</th>
- <th>Host</th>
- <th>Port</th>
- <th>Timeout (secs)</th>
- <th>SSL</th>
- <th>Authenticated</th>
- <th data-class-name="actions noExport">Actions</th>
- </tr>
- </thead>
- </table>
+ <div class="page-section">
+ <table id="smtp_servers">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Host</th>
+ <th>Port</th>
+ <th>Timeout (secs)</th>
+ <th>SSL</th>
+ <th>Authenticated</th>
+ <th data-class-name="actions noExport">Actions</th>
+ </tr>
+ </thead>
+ </table>
+ </div> <!-- /.page-section -->
[% END %]
[% END %]
[% ELSIF searchfield %]
You searched for [% searchfield | html %]
[% END %]
+
+ <div class="page-section">
<table id="serverst">
<thead><tr><th>Target</th><th>Hostname/Port</th><th>Database</th><th>Userid</th><th>Password</th><th>Preselected</th><th>Rank</th><th>Syntax</th><th>Encoding</th><th>Timeout</th><th>Record type</th><th>Attributes</th><th class="noExport">Actions</th>
[% END %]
</tbody>
</table>
+ </div> <!-- /.page-section -->
[% END %]
</main>