Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard 9d890c7636 Bug 23410: Add submenus to system preferences sidebar menu
This patch adds a submenu to the sidebar menu in the system preferences
interface. Submenu links let you jump to the sub-sections in each
preference category.

In the search results view, a link is added to allow the user to jump
directly to the section from which those results came. For instance, if
your search returns the "SuspendHoldsOpac" preference, the link will
take you to to the Circulation preferences page and jump the page to the
"Holds policy" section.

This patch also converts the expand/collapse arrows to Font Awesome
icons. The obsolete image files are removed.

If you click a submenu link for a section on the current page which has
been collapsed, the section will expand.

To test, apply the patch and rebuild the staff client CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

 - Go to Administration -> System preferences.
 - Test the various preference categories and confirm that the submenus
   appear correctly and jump you to the right section.
   - Test that if you click a section heading to collapse it that
     clicking the corresponding submenu link in the sidebar causes it to
     expand again.
 - Do a search for system preferences and confirm that the sidebar menu
   displays correctly.
 - Confirm that the "View all..." links take you to the correct page and
   section.

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

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-06-29 12:37:02 +02:00
..
pages Bug 23410: Add submenus to system preferences sidebar menu 2020-06-29 12:37:02 +02:00
acq.js Bug 18639: (follow-up) Populate replacement price from list price during ordering 2018-08-31 12:46:51 +00:00
acquisitions-menu.js Bug 24347: Add a 'search to order' option similar to 'search to hold' 2020-01-30 10:58:03 +00:00
additem.js Bug 22867: UniqueItemFields preference value should be pipe-delimited 2019-06-06 16:08:47 +01:00
addorderiso2709.js Bug 25563: (bug 24386 follow-up) Don't disable submit button if form has not been submitted yet 2020-05-22 09:07:02 +01:00
admin-menu.js Bug 20931: JS error "ReferenceError: $ is not defined" when CircSidebar is turned on 2018-07-02 11:10:00 +00:00
ajax.js
audio_alerts.js Bug 16310 - Remove the use of "onclick" from audio alerts template 2016-08-01 14:35:27 +00:00
auth-finder-search.js Bug 20273: (follow-up) Autocomplete use start instead of contains 2018-07-19 17:25:16 +00:00
automatic_item_modification_by_age.js Bug 18752 - Automatic item modifications by age should allow 'blank' values 2017-06-13 16:21:37 -03:00
background-job-progressbar.js Bug 18707: Background jobs post disabled inputs 2019-07-15 11:27:59 +01:00
basket.js Bug 24522: Show alert when trying to add nothing to a list in staff 2020-05-04 09:44:42 +01:00
basketgroup.js Bug 18432 : Follow up - Updating to use they/them 2017-04-21 10:56:43 -04:00
biblio_framework.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
cart.js Bug 22419: Records listed twice when select/unselect all from the cart 2019-03-07 20:53:28 +00:00
catalog.js Bug 21556: Deleting same record twice leads to fatal software error 2018-11-01 19:05:12 +00:00
cataloging.js Bug 11446: Use encodeURIComponent on search terms in authority lookup plugin 2020-05-18 15:25:54 +01:00
cataloging_additem.js Bug 8643: Add important constraint to marc subfields 2020-02-11 14:33:29 +00:00
categories.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
charts.js Bug 17282: Ability to create charts for SQL reports 2018-10-01 13:56:35 +00:00
checkouts.js Bug 25291: Escape barcode in ReturnClaims table display 2020-04-29 16:18:54 +01:00
circ-patron-search-results.js Bug 22330: (QA follow-up) Enable datatable in patron search 2019-03-21 16:22:56 +00:00
datatables.js Bug 25287: Make the strings from .js translatable 2020-06-24 15:15:41 +02:00
file-upload.js
funds_sorts.js Bug 15184: Prepare the ground - Move funds and sort fields autoupdate 2018-11-08 15:52:56 +00:00
holds.js Bug 21296: suspend hold ignores system preference on intranet 2020-01-20 14:03:50 +00:00
ill-availability-partner.js Bug 23173: (follow-up) Display available partners 2020-04-06 11:04:59 +01:00
ill-availability.js Bug 23173: Provide core infrastructure 2020-04-06 11:04:19 +01:00
ill-list-table.js Bug 24043: (QA follow-up) Fix another TypeError when retrieving status name 2020-05-01 08:10:35 +01:00
item_search_fields.js
letter.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
localcovers.js Bug 19511: Local cover images not centered in table column in staff client search results 2018-08-21 12:48:36 +00:00
mana.js Bug 22249: Mana - Move comment process in a dedicated sub 2019-07-26 16:08:08 +01:00
marc_modification_templates.js Bug 22245: Allow copy/move from and to control fields 2020-02-19 11:28:56 +00:00
marc_subfields_structure.js Bug 25471: Add DataTables to MARC subfield structure admin page 2020-06-24 15:05:02 +02:00
members-menu.js Bug 23697: (follow-up) Add autocompletion search in patron module 2019-10-08 14:51:04 +01:00
members.js Bug 23808: (follow-up) Display card number in 'Guarantor information' in memberentry.pl 2020-03-20 15:22:47 +00:00
merge-record.js
messaging-preference-form.js Bug 22744: Changes for opac and remove JS 2019-09-23 11:57:46 +01:00
offlinecirc.js Bug 24545: (follow-up) Fix license statements 2020-02-24 13:31:27 +00:00
onboarding.js Bug 19514: Add client-side check 2017-12-14 16:58:13 -03:00
rotating-collections.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
serials-toolbar.js Bug 17047: SQL reports management with Mana-KB 2019-01-23 14:39:26 +00:00
showpredictionpattern.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
sms_providers.js Bug 17012 - Remove more event attributes from administration templates 2016-09-09 13:29:52 +00:00
staff-global.js Bug 25363: Merge common.js with staff-global.js 2020-06-15 11:53:36 +02:00
subscription-add.js Bug 23888: (follow-up) Wrap English string in translation function 2020-03-27 12:14:21 +00:00
suggestions.js Bug 24819: (follow-up) Rename suggestor to suggester 2020-04-20 13:36:42 +01:00
table_filters.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
tools-menu.js Bug 11897: (QA follow-up) Update of tools-menu.js 2018-10-09 15:46:08 +00:00
viewlog.js Bug 25250: (bug 24982 follow-up) Don't disable checkboxes if modification log 2020-04-27 11:41:38 +01:00
xmlControlfield.js
z3950_search.js Bug 25702: Actions button on Search results from Z39.50 is displayed incorrectly 2020-06-23 10:15:03 +02:00