Bugzilla – Attachment 158142 Details for
Bug 34275
Add a button to easily toggle between advanced/basic cataloging editors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34275: Add toggle switch for basic/advanced cataloging editors
Bug-34275-Add-toggle-switch-for-basicadvanced-cata.patch (text/plain), 2.13 KB, created by
Katrin Fischer
on 2023-10-31 15:59:54 UTC
(
hide
)
Description:
Bug 34275: Add toggle switch for basic/advanced cataloging editors
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-10-31 15:59:54 UTC
Size:
2.13 KB
patch
obsolete
>From ae40ef5962c77aa17b39e70cfb7b95ba8d04d1b3 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 13 Jul 2023 17:51:13 +0000 >Subject: [PATCH] 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: Brendan Lawlor <blawlor@clamsnet.org> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/cataloguing/addbiblio.tt | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 7954d1808c..1ecfab326a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -879,6 +879,16 @@ $(document).ready(function(){ > </div> > [% END %] > >+ [% IF Koha.Preference('EnableAdvancedCatalogingEditor') %] >+ <div id="toggle-editor"> >+ <label for="toggle-editor">Advanced editor: </label> >+ <label class="switch"> >+ <input id="toggleEditor" type="checkbox"> >+ <span class="slider"></span> >+ </label> >+ </div> >+ [% END %] >+ > <div id="check_errors"></div> > > <h1> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34275
:
153426
|
153522
|
154471
|
154472
|
155706
|
156124
|
156125
|
158142
|
158537
|
158538