Koha/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc
Martin Renvoize b2fdd8f745
Bug 31417: Update and reference cat-menu.inc
This patch reinstates the cat-menu.inc include and references it from
the various 'tools' that are closely tied to cataloging.

We use the new cataloging home page submission as a reference for which
options should appear in the menu.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-18 10:28:34 -03:00

128 lines
4.5 KiB
HTML

[% USE Koha %]
<div id="navmenu">
<div id="navmenulist">
[% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
<h5>Import</h5>
<ul>
[% IF ( CAN_user_tools_stage_marc_import ) %]
<li>
<a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage records for import</a>
</li>
[% END %]
[% IF ( CAN_user_tools_manage_staged_marc ) %]
<li>
<a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged records</a>
</li>
[% END %]
</ul>
[% END %]
[% IF ( CAN_user_tools_export_catalog ) %]
<h5>Export</h5>
<ul>
[% IF ( CAN_user_tools_export_catalog ) %]
<li>
<a href="/cgi-bin/koha/tools/export.pl">Export catalog data</a>
</li>
[% END %]
</ul>
[% END %]
[% IF ( CAN_user_tools_inventory ) %]
<h5>Reports</h5>
<ul>
[% IF ( CAN_user_tools_inventory ) %]
<li>
<a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a>
</li>
[% END %]
</ul>
[% END %]
[% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_marc_modification_templates ) %]
<h5>Batch editing</h5>
<ul>
[% IF ( CAN_user_tools_items_batchmod ) %]
<li>
<a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a>
</li>
[% END %]
[% IF ( CAN_user_tools_items_batchdel ) %]
<li>
<a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a>
</li>
[% END %]
[% IF CAN_user_tools_records_batchmod %]
<li>
<a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a>
</li>
[% END %]
[% IF CAN_user_tools_records_batchdel %]
<li>
<a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a>
</li>
[% END %]
[% IF ( CAN_user_tools_marc_modification_templates ) %]
<li>
<a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a>
</li>
[% END %]
</ul>
[% END %]
[% IF ( CAN_user_tools_items_batchmod || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) ) %]
<h5>Automation</h5>
<ul>
[% IF ( CAN_user_tools_items_batchmod ) %]
<li>
<a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Item modifications by age</a>
</li>
[% END %]
[% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
<li>
<a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a>
</li>
[% END %]
</ul>
[% END %]
[% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images ) %]
<h5>Tools</h5>
<ul>
[% IF ( CAN_user_tools_label_creator ) %]
<li>
<a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a>
</li>
<li>
<a href="/cgi-bin/koha/labels/barcode-print.pl">Barcode image generator</a>
</li>
<li>
<a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a>
</li>
[% END %]
[% IF ( CAN_user_tools_upload_local_cover_images ) %]
<li>
<a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a>
</li>
[% END %]
</ul>
[% END %]
[% IF ( CAN_user_parameters ) %]
<h5>Administration</h5>
<ul>
[% IF ( CAN_user_parameters_manage_sysprefs ) %]
<li>
<a class="circ-button" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloguing">Preferences</a>
</li>
[% END %]
<li>
<a class="circ-button" href="/cgi-bin/koha/admin/admin-home.pl">Configuration</a>
</li>
</ul>
[% END %]
</div>
</div>