Bug 34275: Add toggle switch for basic/advanced cataloging editors
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 13 Jul 2023 17:51:13 +0000 (17:51 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Nov 2023 17:57:20 +0000 (14:57 -0300)
commit00fb85ddfc833458b8c226281f74cced13f58f60
tree3c29007f298568af0b30f49b2a895f7199307659
parent813f18b22984665c6b60a0762ad9020bfb39e005
Bug 34275: Add toggle switch for basic/advanced cataloging editors

To test:
1. Apply patch and regenerate CSS. (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface)
2. Turn on EnableAdvancedCatalogingEditor.
3. Go to cataloging > 'New record'
4. In the upper left notice a new toggle switch labeled 'Editor:'.
5. Try toggling the switch back and forth to move between editors. Verify it works correecly.
6. Try editing an existing record and make sure the toggle works well when editing records.
7. Try the other method of switch editors, Settings > Switch to basic/advanced editor. Make sure it works the same as always
8. Turn off EnableAdvancedCatalogingEditor, make sure the toggle button is no longer present.

Signed-off-by: Eesther <esther@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt