Bug 37222: Standardize markup for sidebar menus
This patch updates sidebar menu markup so that it's consistent, with a common class (".sidebar_menu") and a unique ID. The style is tied to the class rather than the ID, simplifying the CSS. Note: This patch contains indentation changes so ignore whitespace when viewing the diff. The updated patch contains corrections to JavaScript which needed selectors to be changed to match the new markup. To test, apply the patch and rebuild the staff interface CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) Check pages which contain each modified menu: - Circulation -> Check out to a patron - Catalog -> View a bibliographic record - Administration -> View system preferences - Acquisitions -> Acquisitions home - Cataloging -> Stock rotation -> Manage stages and manage items for a rotation - Cataloging -> Stage MARC records for import - Reports -> Acquisitions statistics - Reports -> View dictionary - Point of sale - E-resource management - Preservation - Serials - Tools -> Patron lists Sponsored-by: Athens County Public Libraries Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1c6c41b148
commit
e041107a85
50 changed files with 803 additions and 807 deletions
|
@ -317,7 +317,7 @@ td.debit {
|
||||||
#menu,
|
#menu,
|
||||||
#limitselect,
|
#limitselect,
|
||||||
#batchModify,
|
#batchModify,
|
||||||
#navmenu,
|
.sidebar_menu,
|
||||||
.gradient,
|
.gradient,
|
||||||
.noprint,
|
.noprint,
|
||||||
form#sortbyform,
|
form#sortbyform,
|
||||||
|
@ -379,4 +379,4 @@ p#upload_image {
|
||||||
|
|
||||||
#catalog_detail .col-sm-push-2 {
|
#catalog_detail .col-sm-push-2 {
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
|
@ -441,9 +441,7 @@ aside {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu,
|
.sidebar_menu {
|
||||||
#navmenulist,
|
|
||||||
#serialmenu {
|
|
||||||
background-color: #E6E6E6;
|
background-color: #E6E6E6;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 1em 0 1em 0;
|
padding: 1em 0 1em 0;
|
||||||
|
@ -4891,4 +4889,4 @@ div .suggestion_note {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,62 +1,61 @@
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
<div id="navmenu">
|
<div id="acquisitions-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
<h5>Acquisitions</h5>
|
||||||
<h5>Acquisitions</h5>
|
<ul>
|
||||||
|
<li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a></li>
|
||||||
|
[% IF ( CAN_user_acquisition_order_receive ) %]<li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>[% END %]
|
||||||
|
[% IF CAN_user_suggestions_suggestions_create || CAN_user_suggestions_suggestions_manage || CAN_user_suggestions_suggestions_delete %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>[% END %]
|
||||||
|
<li><a href="/cgi-bin/koha/acqui/invoices.pl">Invoices</a></li>
|
||||||
|
[% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
|
||||||
|
<li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
|
||||||
|
[% END %]
|
||||||
|
</ul>
|
||||||
|
[% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
|
||||||
|
<h5>Reports</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
|
[% IF ( CAN_user_reports ) %]
|
||||||
<li><a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a></li>
|
<li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
|
||||||
[% IF ( CAN_user_acquisition_order_receive ) %]<li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>[% END %]
|
<li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
|
||||||
[% IF CAN_user_suggestions_suggestions_create || CAN_user_suggestions_suggestions_manage || CAN_user_suggestions_suggestions_delete %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>[% END %]
|
[% END %]
|
||||||
<li><a href="/cgi-bin/koha/acqui/invoices.pl">Invoices</a></li>
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
||||||
[% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
|
<li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
|
||||||
<li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
|
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
|
[% END %]
|
||||||
<h5>Reports</h5>
|
[% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) || CAN_user_parameters_manage_additional_fields ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
|
||||||
<ul>
|
<h5>Administration</h5>
|
||||||
[% IF ( CAN_user_reports ) %]
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
|
[% IF ( CAN_user_acquisition_period_manage ) %]
|
||||||
<li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
|
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
[% IF ( CAN_user_acquisition_budget_manage ) %]
|
||||||
<li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
|
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
[% IF ( CAN_user_acquisition_currencies_manage ) %]
|
||||||
[% END %]
|
<li><a href="/cgi-bin/koha/admin/currency.pl">Currencies</a></li>
|
||||||
[% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) || CAN_user_parameters_manage_additional_fields ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
|
[% END %]
|
||||||
<h5>Administration</h5>
|
[% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
|
||||||
<ul>
|
<li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
|
||||||
[% IF ( CAN_user_acquisition_period_manage ) %]
|
<li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
|
[% END %]
|
||||||
[% END %]
|
[% IF Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage %]
|
||||||
[% IF ( CAN_user_acquisition_budget_manage ) %]
|
<li><a href="/cgi-bin/koha/admin/marc_order_accounts.pl">MARC order accounts</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
|
[% END %]
|
||||||
[% END %]
|
[% IF CAN_user_acquisition_edit_invoices && CAN_user_parameters_manage_additional_fields %]
|
||||||
[% IF ( CAN_user_acquisition_currencies_manage ) %]
|
<li>
|
||||||
<li><a href="/cgi-bin/koha/admin/currency.pl">Currencies</a></li>
|
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqinvoices">Manage invoice fields</a>
|
||||||
[% END %]
|
</li>
|
||||||
[% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
|
[% END %]
|
||||||
<li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
|
[% IF CAN_user_acquisition_order_manage && CAN_user_parameters_manage_additional_fields %]
|
||||||
<li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
|
<li>
|
||||||
[% END %]
|
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqbasket">Manage order basket fields</a>
|
||||||
[% IF Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage %]
|
</li>
|
||||||
<li><a href="/cgi-bin/koha/admin/marc_order_accounts.pl">MARC order accounts</a></li>
|
<li>
|
||||||
[% END %]
|
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqorders">Manage order line fields</a>
|
||||||
[% IF CAN_user_acquisition_edit_invoices && CAN_user_parameters_manage_additional_fields %]
|
</li>
|
||||||
<li>
|
[% END %]
|
||||||
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqinvoices">Manage invoice fields</a>
|
</ul>
|
||||||
</li>
|
[% END %]
|
||||||
[% END %]
|
|
||||||
[% IF CAN_user_acquisition_order_manage && CAN_user_parameters_manage_additional_fields %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqbasket">Manage order basket fields</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqorders">Manage order line fields</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
</ul>
|
|
||||||
[% END %]
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,192 +1,191 @@
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
|
|
||||||
<div id="navmenu">
|
<div id="admin-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
[% IF ( CAN_user_parameters_manage_sysprefs ) %]
|
||||||
[% IF ( CAN_user_parameters_manage_sysprefs ) %]
|
<h5>System preferences</h5>
|
||||||
<h5>System preferences</h5>
|
<ul>
|
||||||
<ul>
|
<li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
|
</ul>
|
||||||
</ul>
|
[% END %]
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
|
[% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
|
||||||
<h5>Basic parameters</h5>
|
<h5>Basic parameters</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_parameters_manage_libraries ) %]
|
[% IF ( CAN_user_parameters_manage_libraries ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
|
<li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
|
<li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_itemtypes ) %]
|
[% IF ( CAN_user_parameters_manage_itemtypes ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
|
<li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_auth_values ) %]
|
[% IF ( CAN_user_parameters_manage_auth_values ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
|
<li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities || CAN_user_parameters_manage_curbside_pickups || CAN_user_parameters_manage_patron_restrictions ) %]
|
[% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities || CAN_user_parameters_manage_curbside_pickups || CAN_user_parameters_manage_patron_restrictions ) %]
|
||||||
<h5>Patrons and circulation</h5>
|
<h5>Patrons and circulation</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_parameters_manage_patron_categories ) %]
|
[% IF ( CAN_user_parameters_manage_patron_categories ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
|
<li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_circ_rules ) %]
|
[% IF ( CAN_user_parameters_manage_circ_rules ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a></li>
|
<li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_patron_attributes ) %]
|
[% IF ( CAN_user_parameters_manage_patron_attributes ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
|
<li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_transfers ) %]
|
[% IF ( CAN_user_parameters_manage_transfers ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
|
<li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
|
<li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
|
[% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
|
<li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
|
[% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
|
<li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_cities ) %]
|
[% IF ( CAN_user_parameters_manage_cities ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
|
<li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_curbside_pickups ) %]
|
[% IF ( CAN_user_parameters_manage_curbside_pickups ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/curbside_pickup.pl">Curbside pickup</a></li>
|
<li><a href="/cgi-bin/koha/admin/curbside_pickup.pl">Curbside pickup</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_patron_restrictions ) %]
|
[% IF ( CAN_user_parameters_manage_patron_restrictions ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/restrictions.pl">Patron restriction types</a></li>
|
<li><a href="/cgi-bin/koha/admin/restrictions.pl">Patron restriction types</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
|
[% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
|
||||||
<h5>Accounting</h5>
|
<h5>Accounting</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_parameters_manage_accounts ) %]
|
[% IF ( CAN_user_parameters_manage_accounts ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li>
|
<li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></li>
|
<li><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
|
[% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li>
|
<li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF CAN_user_plugins && plugins_enabled %]
|
[% IF CAN_user_plugins && plugins_enabled %]
|
||||||
<h5>Plugins</h5>
|
<h5>Plugins</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a></li>
|
<li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF CAN_user_parameters_manage_background_jobs %]
|
[% IF CAN_user_parameters_manage_background_jobs %]
|
||||||
<h5>Jobs</h5>
|
<h5>Jobs</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/admin/background_jobs.pl">Jobs</a></li>
|
<li><a href="/cgi-bin/koha/admin/background_jobs.pl">Jobs</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config || CAN_user_parameters_manage_marc_overlay_rules || ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) ) %]
|
[% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config || CAN_user_parameters_manage_marc_overlay_rules || ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) ) %]
|
||||||
<h5>Catalog</h5>
|
<h5>Catalog</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
|
[% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
|
<li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
|
<li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
|
[% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
|
<li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
|
<li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_classifications ) %]
|
[% IF ( CAN_user_parameters_manage_classifications ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/classsources.pl">Classification configuration</a></li>
|
<li><a href="/cgi-bin/koha/admin/classsources.pl">Classification configuration</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_matching_rules ) %]
|
[% IF ( CAN_user_parameters_manage_matching_rules ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
|
<li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_record_sources ) %]
|
[% IF ( CAN_user_parameters_manage_record_sources ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/record_sources">Record sources</a></li>
|
<li><a href="/cgi-bin/koha/admin/record_sources">Record sources</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
|
[% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">Record overlay rules</a></li>
|
<li><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">Record overlay rules</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_oai_sets ) %]
|
[% IF ( CAN_user_parameters_manage_oai_sets ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
|
<li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_item_search_fields ) %]
|
[% IF ( CAN_user_parameters_manage_item_search_fields ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
|
<li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) %]
|
[% IF ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/search_filters.pl">Search filters</a></li>
|
<li><a href="/cgi-bin/koha/admin/search_filters.pl">Search filters</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_search_engine_config ) %]
|
[% IF ( CAN_user_parameters_manage_search_engine_config ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></li>
|
<li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
|
[% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
|
||||||
<h5>Acquisition parameters</h5>
|
<h5>Acquisition parameters</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_acquisition_currencies_manage ) %]
|
[% IF ( CAN_user_acquisition_currencies_manage ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
|
<li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_acquisition_period_manage ) %]
|
[% IF ( CAN_user_acquisition_period_manage ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
|
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_acquisition_budget_manage ) %]
|
[% IF ( CAN_user_acquisition_budget_manage ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
|
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) %]
|
[% IF ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
|
<li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
|
<li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
|
[% IF ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/edi_accounts.pl">MARC ordering accounts</a></li>
|
<li><a href="/cgi-bin/koha/admin/edi_accounts.pl">MARC ordering accounts</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( CAN_user_parameters_manage_identity_providers || CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) ) %]
|
[% IF ( CAN_user_parameters_manage_identity_providers || CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) ) %]
|
||||||
<h5>Additional parameters</h5>
|
<h5>Additional parameters</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_parameters_manage_identity_providers) %]
|
[% IF ( CAN_user_parameters_manage_identity_providers) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a></li>
|
<li><a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_search_targets ) %]
|
[% IF ( CAN_user_parameters_manage_search_targets ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
|
<li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/oai_servers.pl">OAI repositories</a></li>
|
<li><a href="/cgi-bin/koha/admin/oai_servers.pl">OAI repositories</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_smtp_servers ) %]
|
[% IF ( CAN_user_parameters_manage_smtp_servers ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></li>
|
<li><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_didyoumean ) %]
|
[% IF ( CAN_user_parameters_manage_didyoumean ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
|
<li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_column_config ) %]
|
[% IF ( CAN_user_parameters_manage_column_config ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></li>
|
<li><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_audio_alerts ) %]
|
[% IF ( CAN_user_parameters_manage_audio_alerts ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
|
<li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
|
[% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
|
<li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_usage_stats ) %]
|
[% IF ( CAN_user_parameters_manage_usage_stats ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
|
<li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_mana ) %]
|
[% IF ( CAN_user_parameters_manage_mana ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></li>
|
<li><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_parameters_manage_additional_fields ) %]
|
[% IF ( CAN_user_parameters_manage_additional_fields ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></li>
|
<li><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) %]
|
[% IF ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></li>
|
<li><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
|
[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
|
||||||
<li><a href="/cgi-bin/koha/admin/ill_batch_statuses.pl">Interlibrary loan batch statuses</a></li>
|
<li><a href="/cgi-bin/koha/admin/ill_batch_statuses.pl">Interlibrary loan batch statuses</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
[% USE Biblio %]
|
[% USE Biblio %]
|
||||||
[% SET biblio_object_id = biblio.biblionumber %]
|
[% SET biblio_object_id = biblio.biblionumber %]
|
||||||
|
|
||||||
<div id="menu">
|
<div id="biblio-view-menu" class="sidebar_menu">
|
||||||
<ul>
|
<ul>
|
||||||
<li [% IF detailview %]class="active"[% END %]>
|
<li [% IF detailview %]class="active"[% END %]>
|
||||||
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url %]">Normal</a>
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url %]">Normal</a>
|
||||||
|
@ -98,3 +98,4 @@
|
||||||
[%- END -%]
|
[%- END -%]
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,131 +1,130 @@
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
<div id="navmenu">
|
<div id="cat-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
[% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
|
||||||
[% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
|
<h5>Import</h5>
|
||||||
<h5>Import</h5>
|
<ul>
|
||||||
<ul>
|
[% IF ( CAN_user_tools_stage_marc_import ) %]
|
||||||
[% 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>
|
<li>
|
||||||
<a class="circ-button" href="/cgi-bin/koha/admin/admin-home.pl">Configuration</a>
|
<a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage records for import</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
[% END %]
|
||||||
[% END %]
|
[% IF ( CAN_user_tools_manage_staged_marc ) %]
|
||||||
</div>
|
<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>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -159,7 +159,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- /.patronifo -->
|
<!-- /.patronifo -->
|
||||||
|
|
||||||
<div id="menu">
|
<div id="circ-menu" class="sidebar_menu">
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
||||||
<li [% IF circview %]class="active"[% END %]>
|
<li [% IF circview %]class="active"[% END %]>
|
||||||
|
@ -257,6 +257,7 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
||||||
[% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
|
[% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
|
||||||
<!-- Modal -->
|
<!-- Modal -->
|
||||||
|
|
|
@ -1,134 +1,126 @@
|
||||||
<!-- circ-nav.inc -->
|
<!-- circ-nav.inc -->
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
[% USE Branches %]
|
[% USE Branches %]
|
||||||
<div id="navmenu">
|
<div class="circ-nav-menu sidebar_menu">
|
||||||
<div id="navmenulist">
|
<h5>Circulation</h5>
|
||||||
<div class="row">
|
<ul>
|
||||||
<div class="col-sm-6 col-md-12">
|
<li>
|
||||||
<h5>Circulation</h5>
|
<a href="/cgi-bin/koha/circ/circulation.pl">Check out</a>
|
||||||
<ul>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/cgi-bin/koha/circ/circulation.pl">Check out</a>
|
<a href="/cgi-bin/koha/circ/returns.pl">Check in</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/cgi-bin/koha/circ/returns.pl">Check in</a>
|
<a href="/cgi-bin/koha/circ/renew.pl">Renew</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
[% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %]
|
||||||
<a href="/cgi-bin/koha/circ/renew.pl">Renew</a>
|
<li>
|
||||||
</li>
|
[% IF Koha.Preference('UseCirculationDesks') %]
|
||||||
[% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %]
|
<a href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
|
||||||
<li>
|
[% ELSE %]
|
||||||
[% IF Koha.Preference('UseCirculationDesks') %]
|
<a href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
|
||||||
<a href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
|
|
||||||
[% ELSE %]
|
|
||||||
<a href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
|
|
||||||
[% END %]
|
|
||||||
</li>
|
|
||||||
[% ELSIF Koha.Preference('UseCirculationDesks') %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging ) %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"> Fast cataloging</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
[% IF Koha.Preference('OnSiteCheckouts') %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h5>Holds</h5>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
|
|
||||||
</li>
|
|
||||||
[% IF ( Koha.Preference('CurbsidePickup') && CAN_user_circulate_manage_curbside_pickups ) %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/curbside_pickups.pl">Curbside pickups</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-sm-6 col-md-12">
|
|
||||||
[% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
|
|
||||||
<h5>Recalls</h5>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/recalls/recalls_queue.pl" title="All active recalls">Recalls queue</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/recalls/recalls_to_pull.pl" title="Recalls that could be filled but have not been set waiting">Recalls to pull</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/recalls/recalls_overdue.pl" title="Recalled items that are overdue to be returned">Overdue recalls</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/recalls/recalls_waiting.pl" title="Recalled items awaiting pickup">Recalls awaiting pickup</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/recalls/recalls_old_queue.pl" title="Inactive recalls">Old recalls</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
</li>
|
||||||
|
[% ELSIF Koha.Preference('UseCirculationDesks') %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging ) %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"> Fast cataloging</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
[% IF Koha.Preference('OnSiteCheckouts') %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
</ul>
|
||||||
|
|
||||||
[% IF Koha.Preference('ArticleRequests') %]
|
<h5>Holds</h5>
|
||||||
<h5>Patron request</h5>
|
<ul>
|
||||||
<ul>
|
<li>
|
||||||
<li>
|
<a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
|
||||||
<a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>
|
</li>
|
||||||
</li>
|
<li>
|
||||||
</ul>
|
<a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a>
|
||||||
[% END %]
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
|
||||||
|
</li>
|
||||||
|
[% IF ( Koha.Preference('CurbsidePickup') && CAN_user_circulate_manage_curbside_pickups ) %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/curbside_pickups.pl">Curbside pickups</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h5>Transfers</h5>
|
[% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
|
||||||
<ul>
|
<h5>Recalls</h5>
|
||||||
[% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a>
|
<a href="/cgi-bin/koha/recalls/recalls_queue.pl" title="All active recalls">Recalls queue</a>
|
||||||
</li>
|
</li>
|
||||||
[% END %]
|
<li>
|
||||||
[% IF Koha.Preference('StockRotation') %]
|
<a href="/cgi-bin/koha/recalls/recalls_to_pull.pl" title="Recalls that could be filled but have not been set waiting">Recalls to pull</a>
|
||||||
<li>
|
</li>
|
||||||
<a href="/cgi-bin/koha/circ/transfers_to_send.pl">Transfers to send</a>
|
<li>
|
||||||
</li>
|
<a href="/cgi-bin/koha/recalls/recalls_overdue.pl" title="Recalled items that are overdue to be returned">Overdue recalls</a>
|
||||||
[% END %]
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a>
|
<a href="/cgi-bin/koha/recalls/recalls_waiting.pl" title="Recalled items awaiting pickup">Recalls awaiting pickup</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/recalls/recalls_old_queue.pl" title="Inactive recalls">Old recalls</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
[% END %]
|
||||||
|
|
||||||
[% IF ( CAN_user_circulate_overdues_report ) %]
|
[% IF Koha.Preference('ArticleRequests') %]
|
||||||
<h5>Overdues</h5>
|
<h5>Patron request</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="/cgi-bin/koha/circ/overdue.pl" title="Warning: This report is very resource intensive on systems with large numbers of overdue items.">Overdues</a>
|
<a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
</ul>
|
||||||
<a href="/cgi-bin/koha/circ/branchoverdues.pl" title="Limited to your library. See report help for other details.">Overdues with fines</a>
|
[% END %]
|
||||||
</li>
|
|
||||||
</ul>
|
<h5>Transfers</h5>
|
||||||
[% END %]
|
<ul>
|
||||||
</div>
|
[% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
|
||||||
</div>
|
<li>
|
||||||
</div>
|
<a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
[% IF Koha.Preference('StockRotation') %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/transfers_to_send.pl">Transfers to send</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
[% IF ( CAN_user_circulate_overdues_report ) %]
|
||||||
|
<h5>Overdues</h5>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/overdue.pl" title="Warning: This report is very resource intensive on systems with large numbers of overdue items.">Overdues</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/circ/branchoverdues.pl" title="Limited to your library. See report help for other details.">Overdues with fines</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
[% END %]
|
||||||
</div>
|
</div>
|
||||||
<!-- /circ-nav.inc -->
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,23 +1,22 @@
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
<div id="navmenu">
|
<div id="guided-reports-view-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
<h5>Run reports</h5>
|
||||||
<h5>Run reports</h5>
|
<ul>
|
||||||
<ul>
|
[% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Saved reports</a></li>[% END %]
|
||||||
[% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Saved reports</a></li>[% END %]
|
</ul>
|
||||||
</ul>
|
<h5>Reports dictionary</h5>
|
||||||
<h5>Reports dictionary</h5>
|
<ul>
|
||||||
<ul>
|
<li><a href="/cgi-bin/koha/reports/dictionary.pl">View dictionary</a></li>
|
||||||
<li><a href="/cgi-bin/koha/reports/dictionary.pl">View dictionary</a></li>
|
</ul>
|
||||||
</ul>
|
<h5>Useful resources</h5>
|
||||||
<h5>Useful resources</h5>
|
<ul>
|
||||||
<ul>
|
<li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
|
||||||
<li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
|
[% SET koha_version = Koha.Version %]
|
||||||
[% SET koha_version = Koha.Version %]
|
[% IF koha_version.development %]
|
||||||
[% IF koha_version.development %]
|
<li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li>
|
||||||
<li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li>
|
[% ELSE %]
|
||||||
[% ELSE %]
|
<li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li>
|
||||||
<li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li>
|
[% END %]
|
||||||
[% END %]
|
</ul>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,28 +1,27 @@
|
||||||
[% USE Branches %]
|
[% USE Branches %]
|
||||||
[% USE Registers %]
|
[% USE Registers %]
|
||||||
<div id="navmenu">
|
<div id="pos-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
[% IF ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) %]
|
||||||
[% IF ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) %]
|
<h5>Cash management</h5>
|
||||||
<h5>Cash management</h5>
|
<ul>
|
||||||
<ul>
|
<li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
|
||||||
<li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
|
[% IF !(Registers.session_register_name == '') %]
|
||||||
[% IF !(Registers.session_register_name == '') %]
|
<li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
|
||||||
<li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
|
[% END %]
|
||||||
[% END %]
|
<li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
|
||||||
<li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
|
</ul>
|
||||||
</ul>
|
[% END %]
|
||||||
[% END %]
|
[% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
|
||||||
[% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
|
<h5>Administration</h5>
|
||||||
<h5>Administration</h5>
|
<ul>
|
||||||
<ul>
|
[% IF ( CAN_user_parameters_manage_cash_registers ) %]
|
||||||
[% IF ( CAN_user_parameters_manage_cash_registers ) %]
|
<li><a href="/cgi-bin/koha/admin/cash_registers.pl">Configure cash registers</a></li>
|
||||||
<li><a href="/cgi-bin/koha/admin/cash_registers.pl">Configure cash registers</a></li>
|
[% END %]
|
||||||
[% END %]
|
|
||||||
|
|
||||||
[% IF ( CAN_user_parameters_manage_accounts ) %]
|
[% IF ( CAN_user_parameters_manage_accounts ) %]
|
||||||
<li><a href="/cgi-bin/koha/admin/debit_types.pl">Configure items for purchase</a></li>
|
<li><a href="/cgi-bin/koha/admin/debit_types.pl">Configure items for purchase</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[% USE HtmlId %]
|
[% USE HtmlId %]
|
||||||
<div id="menu">
|
<div id="prefs-menu" class="sidebar_menu">
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( accounting ) %]
|
[% IF ( accounting ) %]
|
||||||
<li class="active">
|
<li class="active">
|
||||||
|
@ -221,6 +221,7 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
||||||
[% BLOCK subtabs %]
|
[% BLOCK subtabs %]
|
||||||
[% UNLESS ( searchfield ) %]
|
[% UNLESS ( searchfield ) %]
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
<div id="navmenu">
|
<div id="preservation-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
<h5>Preservation</h5>
|
||||||
<h5>Preservation</h5>
|
<ul>
|
||||||
<ul>
|
<li><a href="/cgi-bin/koha/preservation/home.pl">Preservation home</a></li>
|
||||||
<li><a href="/cgi-bin/koha/preservation/home.pl">Preservation home</a></li>
|
<li><a href="/cgi-bin/koha/preservation/waiting-list.pl">Waiting list</a></li>
|
||||||
<li><a href="/cgi-bin/koha/preservation/waiting-list.pl">Waiting list</a></li>
|
<li><a href="/cgi-bin/koha/preservation/trains.pl">Trains</a></li>
|
||||||
<li><a href="/cgi-bin/koha/preservation/trains.pl">Trains</a></li>
|
</ul>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,57 +1,55 @@
|
||||||
[% USE Koha %]
|
[% USE Koha %]
|
||||||
|
<div id="reports-menu" class="sidebar_menu">
|
||||||
<div id="navmenu">
|
<h5>Guided reports</h5>
|
||||||
<div id="navmenulist">
|
<ul>
|
||||||
<h5>Guided reports</h5>
|
<li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
|
||||||
<ul>
|
[% IF ( CAN_user_reports_create_reports ) %]
|
||||||
<li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
|
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form">Build new</a></li>
|
||||||
[% IF ( CAN_user_reports_create_reports ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form">Build new</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_reports_execute_reports ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Use saved</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_reports_create_reports ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form_sql">Create from SQL</a></li>
|
|
||||||
[% END %]
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h5>Statistics wizards</h5>
|
|
||||||
<ul>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
[% IF plugins_enabled %]
|
|
||||||
<h5>Report plugins</h5>
|
|
||||||
<ul>
|
|
||||||
<li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
|
|
||||||
</ul>
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
[% IF ( CAN_user_reports_execute_reports ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Use saved</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_reports_create_reports ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form_sql">Create from SQL</a></li>
|
||||||
|
[% END %]
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h5>Top lists</h5>
|
<h5>Statistics wizards</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
|
<li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
|
||||||
<li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
|
<li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
|
||||||
</ul>
|
<li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<h5>Inactive</h5>
|
[% IF plugins_enabled %]
|
||||||
|
<h5>Report plugins</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
|
<li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
|
||||||
<li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
[% END %]
|
||||||
|
|
||||||
<h5>Other</h5>
|
<h5>Top lists</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
|
<li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
|
||||||
<li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
|
<li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
|
||||||
<li><a href="/cgi-bin/koha/reports/catalog_by_itemtype.pl">Catalog by item type</a></li>
|
</ul>
|
||||||
<li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
|
|
||||||
</ul>
|
<h5>Inactive</h5>
|
||||||
</div>
|
<ul>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h5>Other</h5>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/catalog_by_itemtype.pl">Catalog by item type</a></li>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,47 +1,46 @@
|
||||||
<div id="navmenu">
|
<div id="serials-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
<h5>Serials</h5>
|
||||||
<h5>Serials</h5>
|
<ul>
|
||||||
<ul>
|
[% IF ( subscriptionid ) %]
|
||||||
[% IF ( subscriptionid ) %]
|
<li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
|
||||||
<li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
|
[% UNLESS closed %]
|
||||||
[% UNLESS closed %]
|
[% IF ( routing && CAN_user_serials_routing ) %]
|
||||||
[% IF ( routing && CAN_user_serials_routing ) %]
|
[% IF ( hasRouting ) %]
|
||||||
[% IF ( hasRouting ) %]
|
<li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]">Edit routing list</a></li>
|
||||||
<li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]">Edit routing list</a></li>
|
[% ELSE %]
|
||||||
[% ELSE %]
|
<li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]&op=new">Create routing list</a></li>
|
||||||
<li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]&op=new">Create routing list</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% END %]
|
[% END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% IF ( CAN_user_serials_claim_serials ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_serials_check_expiration ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/serials/checkexpiration.pl">Check expiration</a></li>
|
|
||||||
[% END %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/serials/subscription-frequencies.pl"> Manage frequencies </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl"> Manage numbering patterns </a>
|
|
||||||
</li>
|
|
||||||
[% IF Koha.Preference('Mana') == 1 %]
|
|
||||||
<li><a href="/cgi-bin/koha/serials/serials-search.pl?mana=1">Search on Mana</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF CAN_user_serials_edit_subscription && CAN_user_parameters_manage_additional_fields %]
|
|
||||||
<li>
|
|
||||||
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=subscription">Manage subscription fields</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
[% IF ( CAN_user_reports ) %]
|
|
||||||
<h5>Reports</h5>
|
|
||||||
<ul>
|
|
||||||
<li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
|
|
||||||
</ul>
|
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
|
||||||
|
[% IF ( CAN_user_serials_claim_serials ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_serials_check_expiration ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/serials/checkexpiration.pl">Check expiration</a></li>
|
||||||
|
[% END %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/serials/subscription-frequencies.pl"> Manage frequencies </a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl"> Manage numbering patterns </a>
|
||||||
|
</li>
|
||||||
|
[% IF Koha.Preference('Mana') == 1 %]
|
||||||
|
<li><a href="/cgi-bin/koha/serials/serials-search.pl?mana=1">Search on Mana</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF CAN_user_serials_edit_subscription && CAN_user_parameters_manage_additional_fields %]
|
||||||
|
<li>
|
||||||
|
<a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=subscription">Manage subscription fields</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
[% IF ( CAN_user_reports ) %]
|
||||||
|
<h5>Reports</h5>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
|
||||||
|
</ul>
|
||||||
|
[% END %]
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -2,101 +2,98 @@
|
||||||
[% USE Branches %]
|
[% USE Branches %]
|
||||||
[% USE Registers %]
|
[% USE Registers %]
|
||||||
|
|
||||||
<div id="navmenu">
|
<div id="tools-menu" class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
<ul>
|
||||||
|
<li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
|
||||||
|
</ul>
|
||||||
|
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) || CAN_user_tools_rotating_collections ) %]
|
||||||
|
<h5>Patrons and circulation</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
|
[% IF ( CAN_user_tools_manage_patron_lists ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF (CAN_user_clubs) %]
|
||||||
|
<li><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_moderate_comments ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_import_patrons ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_edit_notices ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tools/letter.pl">Notices and slips</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_label_creator ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion and anonymization</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_edit_patrons ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_batch_extend_due_dates ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_moderate_tags ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( CAN_user_tools_rotating_collections ) %]
|
||||||
|
<li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li>
|
||||||
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) || CAN_user_tools_rotating_collections ) %]
|
[% END # /IF ( CAN_user_tools_items_batchdel... %]
|
||||||
<h5>Patrons and circulation</h5>
|
|
||||||
<ul>
|
|
||||||
[% IF ( CAN_user_tools_manage_patron_lists ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF (CAN_user_clubs) %]
|
|
||||||
<li><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_moderate_comments ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_import_patrons ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_edit_notices ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tools/letter.pl">Notices and slips</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_label_creator ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion and anonymization</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_edit_patrons ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_batch_extend_due_dates ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_moderate_tags ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( CAN_user_tools_rotating_collections ) %]
|
|
||||||
<li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li>
|
|
||||||
[% END %]
|
|
||||||
</ul>
|
|
||||||
[% END # /IF ( CAN_user_tools_items_batchdel... %]
|
|
||||||
|
|
||||||
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
|
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool ) || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
|
||||||
<h5>Additional tools</h5>
|
<h5>Additional tools</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_tools_edit_calendar ) %]
|
[% IF ( CAN_user_tools_edit_calendar ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
|
<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_tools_manage_csv_profiles ) %]
|
[% IF ( CAN_user_tools_manage_csv_profiles ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></li>
|
<li><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_tools_view_system_logs ) %]
|
[% IF ( CAN_user_tools_view_system_logs ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></li>
|
<li><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_tools_edit_additional_contents ) %]
|
[% IF ( CAN_user_tools_edit_additional_contents ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a></li>
|
<li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a></li>
|
||||||
<li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a></li>
|
<li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a></li>
|
||||||
<li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a></li>
|
<li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_tools_schedule_tasks ) %]
|
[% IF ( CAN_user_tools_schedule_tasks ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></li>
|
<li><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_tools_edit_quotes ) %]
|
[% IF ( CAN_user_tools_edit_quotes ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a></li>
|
<li><a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( plugins_enabled && CAN_user_plugins_tool ) %]
|
[% IF ( plugins_enabled && CAN_user_plugins_tool ) %]
|
||||||
<li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></li>
|
<li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_tools_upload_general_files ) %]
|
[% IF ( CAN_user_tools_upload_general_files ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></li>
|
<li><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( CAN_user_tools_access_files ) %]
|
[% IF ( CAN_user_tools_access_files ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
|
<li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %]
|
[% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %]
|
||||||
<li><a href="/cgi-bin/koha/tools/problem-reports.pl">OPAC problem reports</a></li>
|
<li><a href="/cgi-bin/koha/tools/problem-reports.pl">OPAC problem reports</a></li>
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
[% END # /IF ( CAN_user_tools_edit_calendar... %]
|
[% END # /IF ( CAN_user_tools_edit_calendar... %]
|
||||||
[% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
|
[% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
|
||||||
<h5>Cash management</h5>
|
<h5>Cash management</h5>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
|
<li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
|
||||||
<li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
|
<li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
[% END %]
|
[% END %]
|
||||||
</div>
|
|
||||||
<!-- /#navmenulist -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /#navmenu -->
|
<!-- /.sidebar_menu -->
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[% IF ( booksellerid ) %]
|
[% IF ( booksellerid ) %]
|
||||||
<div id="menu">
|
<div id="vendor-menu" class="sidebar_menu">
|
||||||
<ul>
|
<ul>
|
||||||
[% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]">Baskets</a></li>[% END %]
|
[% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]">Baskets</a></li>[% END %]
|
||||||
[% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket groups</a></li>[% END %]
|
[% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket groups</a></li>[% END %]
|
||||||
|
@ -13,4 +13,5 @@
|
||||||
[% END %][% END %]
|
[% END %][% END %]
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
|
@ -339,7 +339,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
$('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
||||||
[% IF table_loop %]
|
[% IF table_loop %]
|
||||||
$("#description").show();
|
$("#description").show();
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
|
|
|
@ -231,7 +231,7 @@
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
$('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
||||||
$("input[name='layout_choice']").change(function () {
|
$("input[name='layout_choice']").change(function () {
|
||||||
layout_method();
|
layout_method();
|
||||||
});
|
});
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
$('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
||||||
var selectedUnit = $("#units option:selected").val();
|
var selectedUnit = $("#units option:selected").val();
|
||||||
var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
|
var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
|
||||||
$(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
|
$(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
$('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
||||||
$.validator.addMethod(
|
$.validator.addMethod(
|
||||||
"gt",
|
"gt",
|
||||||
function (value, element, params) {
|
function (value, element, params) {
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
$('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
||||||
var selectedUnit = $("#units option:selected").val();
|
var selectedUnit = $("#units option:selected").val();
|
||||||
var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
|
var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
|
||||||
$(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
|
$(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
|
||||||
|
|
|
@ -208,7 +208,7 @@
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
$('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
|
||||||
$("#print").click(function(e){
|
$("#print").click(function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
Xport();
|
Xport();
|
||||||
|
|
|
@ -175,6 +175,7 @@
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
[% INCLUDE 'greybox.inc' %]
|
[% INCLUDE 'greybox.inc' %]
|
||||||
[% INCLUDE 'datatables.inc' %]
|
[% INCLUDE 'datatables.inc' %]
|
||||||
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||||
<script>
|
<script>
|
||||||
function DeleteConfirm() {
|
function DeleteConfirm() {
|
||||||
var msg = _("Are you sure you want to delete batch %s?").format("[% batch_id | html %]");
|
var msg = _("Are you sure you want to delete batch %s?").format("[% batch_id | html %]");
|
||||||
|
|
|
@ -481,6 +481,7 @@
|
||||||
</form>
|
</form>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var selectedUnit = $("#units option:selected").val();
|
var selectedUnit = $("#units option:selected").val();
|
||||||
|
|
|
@ -117,6 +117,7 @@
|
||||||
</form>
|
</form>
|
||||||
[% END %]
|
[% END %]
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var selectedUnit = $("#units option:selected").val();
|
var selectedUnit = $("#units option:selected").val();
|
||||||
|
|
|
@ -148,6 +148,7 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||||
<script>
|
<script>
|
||||||
function DeleteConfirm() {
|
function DeleteConfirm() {
|
||||||
var results = selected_images();
|
var results = selected_images();
|
||||||
|
|
|
@ -188,6 +188,7 @@
|
||||||
|
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
[% INCLUDE 'greybox.inc' %]
|
[% INCLUDE 'greybox.inc' %]
|
||||||
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||||
<script>
|
<script>
|
||||||
function DeleteConfirm() {
|
function DeleteConfirm() {
|
||||||
var element_ids = selected_layouts("delete");
|
var element_ids = selected_layouts("delete");
|
||||||
|
|
|
@ -621,7 +621,7 @@
|
||||||
<div class="col-md-2 order-sm-2 order-md-1">
|
<div class="col-md-2 order-sm-2 order-md-1">
|
||||||
<aside>
|
<aside>
|
||||||
[% INCLUDE 'serials-menu.inc' %]
|
[% INCLUDE 'serials-menu.inc' %]
|
||||||
<div id="serialmenu">
|
<div id="serialmenu" class="sidebar_menu">
|
||||||
<h5>Serial links</h5>
|
<h5>Serial links</h5>
|
||||||
<ul>
|
<ul>
|
||||||
[% FOREACH subscription IN subscriptions %]
|
[% FOREACH subscription IN subscriptions %]
|
||||||
|
|
|
@ -130,7 +130,7 @@
|
||||||
|
|
||||||
<div class="col-md-2 order-sm-2 order-md-1">
|
<div class="col-md-2 order-sm-2 order-md-1">
|
||||||
<aside>
|
<aside>
|
||||||
<div id="menu">
|
<div id="list-menu" class="sidebar_menu">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
|
<li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
|
||||||
<li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
|
<li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
|
||||||
|
@ -138,6 +138,7 @@
|
||||||
<li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
|
<li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
[% INCLUDE 'tools-menu.inc' %]
|
[% INCLUDE 'tools-menu.inc' %]
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
|
@ -149,6 +150,7 @@
|
||||||
|
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
[% INCLUDE 'datatables.inc' %]
|
[% INCLUDE 'datatables.inc' %]
|
||||||
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
$(".delete").click(function (event) {
|
$(".delete").click(function (event) {
|
||||||
|
|
|
@ -304,6 +304,7 @@
|
||||||
[% MACRO jsinclude BLOCK %]
|
[% MACRO jsinclude BLOCK %]
|
||||||
[% INCLUDE 'datatables.inc' %]
|
[% INCLUDE 'datatables.inc' %]
|
||||||
[% INCLUDE 'calendar.inc' %]
|
[% INCLUDE 'calendar.inc' %]
|
||||||
|
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||||
[% Asset.js("js/pages/tags-review.js") | $raw %]
|
[% Asset.js("js/pages/tags-review.js") | $raw %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
|
|
|
@ -686,7 +686,7 @@
|
||||||
<div class="col-md-2 order-sm-2 order-md-1">
|
<div class="col-md-2 order-sm-2 order-md-1">
|
||||||
<aside>
|
<aside>
|
||||||
[% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
|
[% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
|
||||||
<div id="menu">
|
<div id="stockrotation-menu" class="sidebar_menu">
|
||||||
<ul>
|
<ul>
|
||||||
[% SET item_class = "" %]
|
[% SET item_class = "" %]
|
||||||
[% IF op == 'manage_stages' %]
|
[% IF op == 'manage_stages' %]
|
||||||
|
@ -704,6 +704,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
[% END %]
|
[% END %]
|
||||||
[% INCLUDE 'cat-menu.inc' %]
|
[% INCLUDE 'cat-menu.inc' %]
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -13,7 +13,7 @@ function searchToOrder(basketno, vendorid) {
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var path = location.pathname.substring(1);
|
var path = location.pathname.substring(1);
|
||||||
if (path.indexOf("invoice") >= 0) {
|
if (path.indexOf("invoice") >= 0) {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/acqui/invoices.pl"]').addClass(
|
$('.sidebar_menu a[href$="/cgi-bin/koha/acqui/invoices.pl"]').addClass(
|
||||||
"current"
|
"current"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,26 +5,26 @@ $(document).ready(function () {
|
||||||
path == "cgi-bin/koha/admin/marc_subfields_structure.pl"
|
path == "cgi-bin/koha/admin/marc_subfields_structure.pl"
|
||||||
) {
|
) {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]'
|
'.sidebar_menu a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
} else if (
|
} else if (
|
||||||
path == "cgi-bin/koha/admin/auth_tag_structure.pl" ||
|
path == "cgi-bin/koha/admin/auth_tag_structure.pl" ||
|
||||||
path == "cgi-bin/koha/admin/auth_subfields_structure.pl"
|
path == "cgi-bin/koha/admin/auth_subfields_structure.pl"
|
||||||
) {
|
) {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/admin/authtypes.pl"]').addClass(
|
$('.sidebar_menu a[href$="/cgi-bin/koha/admin/authtypes.pl"]').addClass(
|
||||||
"current"
|
"current"
|
||||||
);
|
);
|
||||||
} else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
|
} else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').addClass(
|
$('.sidebar_menu a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').addClass(
|
||||||
"current"
|
"current"
|
||||||
);
|
);
|
||||||
} else if (path == "cgi-bin/koha/admin/items_search_field.pl") {
|
} else if (path == "cgi-bin/koha/admin/items_search_field.pl") {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]'
|
'.sidebar_menu a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
} else if (path == "cgi-bin/koha/admin/clone-rules.pl") {
|
} else if (path == "cgi-bin/koha/admin/clone-rules.pl") {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/admin/smart-rules.pl"]'
|
'.sidebar_menu a[href$="/cgi-bin/koha/admin/smart-rules.pl"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -206,18 +206,18 @@ $(document).ready(function () {
|
||||||
$($(this).data("element")).toggle();
|
$($(this).data("element")).toggle();
|
||||||
});
|
});
|
||||||
|
|
||||||
var navmenulist = $("#navmenulist");
|
var sidebar_menu = $(".sidebar_menu");
|
||||||
if (navmenulist.length > 0) {
|
if (sidebar_menu.length > 0) {
|
||||||
var path = location.pathname.substring(1);
|
var path = location.pathname.substring(1);
|
||||||
var url = window.location.toString();
|
var url = window.location.toString();
|
||||||
var params = "";
|
var params = "";
|
||||||
if (url.match(/\?(.+)$/)) {
|
if (url.match(/\?(.+)$/)) {
|
||||||
params = "?" + RegExp.$1;
|
params = "?" + RegExp.$1;
|
||||||
}
|
}
|
||||||
if ($('a[href$="/' + path + params + '"]', navmenulist).length == 0) {
|
if ($('a[href$="/' + path + params + '"]', sidebar_menu).length == 0) {
|
||||||
$('a[href$="/' + path + '"]', navmenulist).addClass("current");
|
$('a[href$="/' + path + '"]', sidebar_menu).addClass("current");
|
||||||
} else {
|
} else {
|
||||||
$('a[href$="/' + path + params + '"]', navmenulist).addClass(
|
$('a[href$="/' + path + params + '"]', sidebar_menu).addClass(
|
||||||
"current"
|
"current"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,44 +5,48 @@ $(document).ready(function () {
|
||||||
path.indexOf("spine") < 0 &&
|
path.indexOf("spine") < 0 &&
|
||||||
path.indexOf("barcode") < 0
|
path.indexOf("barcode") < 0
|
||||||
) {
|
) {
|
||||||
$(
|
$('#tools-menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]'
|
"current"
|
||||||
).addClass("current");
|
);
|
||||||
} else if (path.indexOf("patroncards") >= 0) {
|
} else if (path.indexOf("patroncards") >= 0) {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').addClass(
|
$('#tools-menu a[href$="/cgi-bin/koha/patroncards/home.pl"]').addClass(
|
||||||
"current"
|
"current"
|
||||||
);
|
);
|
||||||
} else if (path.indexOf("clubs") >= 0) {
|
} else if (path.indexOf("clubs") >= 0) {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/clubs/clubs.pl"]').addClass(
|
$('#tools-menu a[href$="/cgi-bin/koha/clubs/clubs.pl"]').addClass(
|
||||||
"current"
|
"current"
|
||||||
);
|
);
|
||||||
} else if (path.indexOf("patron_lists") >= 0) {
|
} else if (path.indexOf("patron_lists") >= 0) {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]'
|
'#tools-menu a[href$="/cgi-bin/koha/patron_lists/lists.pl"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
} else if (path.indexOf("rotating_collections") >= 0) {
|
} else if (path.indexOf("rotating_collections") >= 0) {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/rotating_collections/rotatingCollections.pl"]'
|
'#tools-menu a[href$="/cgi-bin/koha/rotating_collections/rotatingCollections.pl"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
} else if ((path + location.search).indexOf("batchMod.pl?del=1") >= 0) {
|
} else if ((path + location.search).indexOf("batchMod.pl?del=1") >= 0) {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]'
|
'#tools-menu a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
} else if (path.indexOf("quotes-upload.pl") >= 0) {
|
} else if (path.indexOf("quotes-upload.pl") >= 0) {
|
||||||
$('#navmenulist a[href$="/cgi-bin/koha/tools/quotes.pl"]').addClass(
|
$('#tools-menu a[href$="/cgi-bin/koha/tools/quotes.pl"]').addClass(
|
||||||
"current"
|
"current"
|
||||||
);
|
);
|
||||||
} else if (path.indexOf("stockrotation") >= 0) {
|
} else if (path.indexOf("stockrotation") >= 0) {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/tools/stockrotation.pl"]'
|
'#tools-menu a[href$="/cgi-bin/koha/tools/stockrotation.pl"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
} else if (path.indexOf("plugins") >= 0) {
|
} else if (path.indexOf("plugins") >= 0) {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]'
|
'#tools-menu a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
} else if (path.indexOf("page.pl") >= 0) {
|
} else if (path.indexOf("page.pl") >= 0) {
|
||||||
$(
|
$(
|
||||||
'#navmenulist a[href$="/cgi-bin/koha/tools/additional-contents.pl?category=pages"]'
|
'#tools-menu a[href$="/cgi-bin/koha/tools/additional-contents.pl?category=pages"]'
|
||||||
).addClass("current");
|
).addClass("current");
|
||||||
|
} else if (path.indexOf("/tags/") >= 0) {
|
||||||
|
$('#tools-menu a[href$="/cgi-bin/koha/tags/review.pl"]').addClass(
|
||||||
|
"current"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -172,7 +172,7 @@ export default {
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#menu ul ul,
|
#menu ul ul,
|
||||||
#navmenulist ul ul {
|
.sidebar_menu ul ul {
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
}
|
}
|
||||||
|
@ -196,12 +196,12 @@ textarea {
|
||||||
.flatpickr-input {
|
.flatpickr-input {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
#navmenulist ul li a.current.disabled {
|
.sidebar_menu ul li a.current.disabled {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
border-left: 5px solid #e6e6e6;
|
border-left: 5px solid #e6e6e6;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
#navmenulist ul li a.disabled {
|
.sidebar_menu ul li a.disabled {
|
||||||
color: #666;
|
color: #666;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
<template>
|
<template>
|
||||||
<aside>
|
<aside>
|
||||||
<div id="navmenu">
|
<div class="sidebar_menu">
|
||||||
<div id="navmenulist">
|
<h5>{{ $__(title) }}</h5>
|
||||||
<h5>{{ $__(title) }}</h5>
|
<ul>
|
||||||
<ul>
|
<NavigationItem
|
||||||
<NavigationItem
|
v-for="(item, key) in navigationTree"
|
||||||
v-for="(item, key) in navigationTree"
|
v-bind:key="key"
|
||||||
v-bind:key="key"
|
:item="item"
|
||||||
:item="item"
|
></NavigationItem>
|
||||||
></NavigationItem>
|
</ul>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.sidebar_menu -->
|
||||||
</aside>
|
</aside>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -47,21 +46,21 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
#navmenulist a.router-link-active {
|
.sidebar_menu a.router-link-active {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
#menu ul ul,
|
#menu ul ul,
|
||||||
#navmenulist ul ul {
|
.sidebar_menu ul ul {
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navmenulist ul li a.disabled {
|
.sidebar_menu ul li a.disabled {
|
||||||
color: #666;
|
color: #666;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
#navmenulist ul li a.disabled.router-link-active {
|
.sidebar_menu ul li a.disabled.router-link-active {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -108,7 +108,7 @@ export default {
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#menu ul ul,
|
#menu ul ul,
|
||||||
#navmenulist ul ul {
|
.sidebar_menu ul ul {
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
}
|
}
|
||||||
|
@ -133,12 +133,12 @@ textarea {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#navmenulist ul li a.current.disabled {
|
.sidebar_menu ul li a.current.disabled {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
border-left: 5px solid #e6e6e6;
|
border-left: 5px solid #e6e6e6;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
#navmenulist ul li a.disabled {
|
.sidebar_menu ul li a.disabled {
|
||||||
color: #666;
|
color: #666;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
|
@ -60,6 +60,7 @@ if ($accountline) {
|
||||||
available_additional_fields => Koha::AdditionalFields->search(
|
available_additional_fields => Koha::AdditionalFields->search(
|
||||||
{ tablename => $accountline->credit_type_code ? 'accountlines:credit' : 'accountlines:debit' }
|
{ tablename => $accountline->credit_type_code ? 'accountlines:credit' : 'accountlines:debit' }
|
||||||
),
|
),
|
||||||
|
finesview => 1,
|
||||||
);
|
);
|
||||||
|
|
||||||
my $patron = Koha::Patrons->find( $accountline->borrowernumber );
|
my $patron = Koha::Patrons->find( $accountline->borrowernumber );
|
||||||
|
|
|
@ -277,6 +277,7 @@ if ( $input->param('error_over') ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->param(
|
$template->param(
|
||||||
|
finesview => 1,
|
||||||
payment_id => $payment_id,
|
payment_id => $payment_id,
|
||||||
type => $type,
|
type => $type,
|
||||||
borrowernumber => $borrowernumber, # some templates require global
|
borrowernumber => $borrowernumber, # some templates require global
|
||||||
|
|
|
@ -26,7 +26,7 @@ describe("Agreement CRUD operations", () => {
|
||||||
statusCode: 500,
|
statusCode: 500,
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
||||||
cy.get("#navmenulist").contains("Agreements").click();
|
cy.get(".sidebar_menu").contains("Agreements").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
"Something went wrong: Error: Internal Server Error"
|
"Something went wrong: Error: Internal Server Error"
|
||||||
);
|
);
|
||||||
|
|
|
@ -28,7 +28,7 @@ describe("Data provider CRUD operations", () => {
|
||||||
error: "Something went wrong",
|
error: "Something went wrong",
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
||||||
cy.get("#navmenulist").contains("Data providers").click();
|
cy.get(".sidebar_menu").contains("Data providers").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
/Something went wrong/
|
/Something went wrong/
|
||||||
);
|
);
|
||||||
|
|
|
@ -55,7 +55,7 @@ describe("Dialog operations", () => {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
||||||
cy.get("#navmenulist").contains("Packages").click();
|
cy.get(".sidebar_menu").contains("Packages").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
"Something went wrong: Error: This is a specific error message"
|
"Something went wrong: Error: This is a specific error message"
|
||||||
);
|
);
|
||||||
|
@ -64,13 +64,13 @@ describe("Dialog operations", () => {
|
||||||
statusCode: 500, // No body, in case of Internal Server Error, we get statusText
|
statusCode: 500, // No body, in case of Internal Server Error, we get statusText
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
||||||
cy.get("#navmenulist").contains("Packages").click();
|
cy.get(".sidebar_menu").contains("Packages").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
"Something went wrong: Error: Internal Server Error"
|
"Something went wrong: Error: Internal Server Error"
|
||||||
);
|
);
|
||||||
|
|
||||||
cy.intercept("GET", "/api/v1/erm/agreements*", []);
|
cy.intercept("GET", "/api/v1/erm/agreements*", []);
|
||||||
cy.get("#navmenulist").contains("Agreements").click();
|
cy.get(".sidebar_menu").contains("Agreements").click();
|
||||||
// Info messages should be cleared when view is changed
|
// Info messages should be cleared when view is changed
|
||||||
cy.get("main div[class='alert alert-info']").contains(
|
cy.get("main div[class='alert alert-info']").contains(
|
||||||
"There are no agreements defined"
|
"There are no agreements defined"
|
||||||
|
@ -116,7 +116,7 @@ describe("Dialog operations", () => {
|
||||||
"X-Total-Count": "1",
|
"X-Total-Count": "1",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
cy.get("#navmenulist").contains("Titles").click();
|
cy.get(".sidebar_menu").contains("Titles").click();
|
||||||
// Info messages should be cleared when view is changed
|
// Info messages should be cleared when view is changed
|
||||||
cy.get("main div[class='alert alert-info']").should("not.exist");
|
cy.get("main div[class='alert alert-info']").should("not.exist");
|
||||||
});
|
});
|
||||||
|
|
|
@ -26,7 +26,7 @@ describe("License CRUD operations", () => {
|
||||||
statusCode: 500,
|
statusCode: 500,
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
||||||
cy.get("#navmenulist").contains("Licenses").click();
|
cy.get(".sidebar_menu").contains("Licenses").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
"Something went wrong: Error: Internal Server Error"
|
"Something went wrong: Error: Internal Server Error"
|
||||||
);
|
);
|
||||||
|
|
|
@ -19,7 +19,7 @@ describe("Package CRUD operations", () => {
|
||||||
statusCode: 500,
|
statusCode: 500,
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
||||||
cy.get("#navmenulist").contains("Packages").click();
|
cy.get(".sidebar_menu").contains("Packages").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
"Something went wrong: Error: Internal Server Error"
|
"Something went wrong: Error: Internal Server Error"
|
||||||
);
|
);
|
||||||
|
|
|
@ -78,7 +78,7 @@ describe("Title CRUD operations", () => {
|
||||||
error: "Something went wrong",
|
error: "Something went wrong",
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
cy.visit("/cgi-bin/koha/erm/erm.pl");
|
||||||
cy.get("#navmenulist").contains("Titles").click();
|
cy.get(".sidebar_menu").contains("Titles").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
/Something went wrong/
|
/Something went wrong/
|
||||||
);
|
);
|
||||||
|
|
|
@ -82,7 +82,7 @@ describe("Processings", () => {
|
||||||
|
|
||||||
it("Settings", () => {
|
it("Settings", () => {
|
||||||
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
||||||
cy.get("#navmenulist").contains("Settings").click();
|
cy.get(".sidebar_menu").contains("Settings").click();
|
||||||
cy.get("#not_for_loan_waiting_list_in .vs__selected").contains(
|
cy.get("#not_for_loan_waiting_list_in .vs__selected").contains(
|
||||||
"In preservation"
|
"In preservation"
|
||||||
);
|
);
|
||||||
|
|
|
@ -262,7 +262,7 @@ describe("Trains", () => {
|
||||||
error: "Something went wrong",
|
error: "Something went wrong",
|
||||||
});
|
});
|
||||||
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
||||||
cy.get("#navmenulist").contains("Trains").click();
|
cy.get(".sidebar_menu").contains("Trains").click();
|
||||||
cy.get("main div[class='alert alert-warning']").contains(
|
cy.get("main div[class='alert alert-warning']").contains(
|
||||||
/Something went wrong/
|
/Something went wrong/
|
||||||
);
|
);
|
||||||
|
|
|
@ -49,7 +49,7 @@ describe("WaitingList", () => {
|
||||||
);
|
);
|
||||||
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
||||||
cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
|
cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
|
||||||
cy.get("#navmenulist").contains("Waiting list").click();
|
cy.get(".sidebar_menu").contains("Waiting list").click();
|
||||||
cy.get("#waiting-list").contains(
|
cy.get("#waiting-list").contains(
|
||||||
"You need to configure this module first."
|
"You need to configure this module first."
|
||||||
);
|
);
|
||||||
|
@ -62,7 +62,7 @@ describe("WaitingList", () => {
|
||||||
);
|
);
|
||||||
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
cy.visit("/cgi-bin/koha/preservation/home.pl");
|
||||||
cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
|
cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
|
||||||
cy.get("#navmenulist").contains("Waiting list").click();
|
cy.get(".sidebar_menu").contains("Waiting list").click();
|
||||||
cy.get("#waiting-list").contains(
|
cy.get("#waiting-list").contains(
|
||||||
"There are no items in the waiting list"
|
"There are no items in the waiting list"
|
||||||
);
|
);
|
||||||
|
|
|
@ -48,7 +48,7 @@ Cypress.Commands.add("login", (username, password) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
Cypress.Commands.add("left_menu_active_item_is", label => {
|
Cypress.Commands.add("left_menu_active_item_is", label => {
|
||||||
cy.get("#navmenulist a.current:not(.disabled)")
|
cy.get(".sidebar_menu a.current:not(.disabled)")
|
||||||
.should("have.length", 1)
|
.should("have.length", 1)
|
||||||
.contains(label);
|
.contains(label);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue