Koha/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc
Martin Renvoize 2c8f13fee2 Bug 31028: Add ability to report concerns from the staff interface
This patch brings the CatalogConcerns feature to the staff client
allowing non-cataloguers to report issues with catalog records from the
record details page.

Test plan
1) Enable the new `CatalogConcerns` system preference
2) Confirm that without the `edit_catalogue` permission your user can
   submit a catalog concern via `New -> New catalog concern` from the
   toolbar on a records detail display.
3) Confirm that the right user was recorded as the reporter on the
   catalog concern management page (You must have logged in again as a
   user with the `edit_catalogue` permission to see this page.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Helen Oliver <HOliver@tavi-port.ac.uk>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-06 11:23:17 -03:00

133 lines
4.9 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 || ( ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) ) %]
<h5>Reports</h5>
<ul>
[% IF ( CAN_user_tools_inventory ) %]
<li>
<a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a>
</li>
[% END %]
[% IF ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue %]
<li>
<a href="/cgi-bin/koha/cataloguing/concerns.pl">Catalog concerns</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>