[Bug 24758] New: Allow folding sections in patron edition form
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24758 Bug ID: 24758 Summary: Allow folding sections in patron edition form Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Patron edition form is big and contains several sections : Patron identity, Main address ... Some of them are often unused so user may want to fold/unfold it to ease edition. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24758 --- Comment #1 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Created attachment 99755 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99755&action=edit Screenshot I've managed to add this behavior with JS customisation. === $(document).ready(function() { if ($('#pat_memberentrygen').size()) { // Prepare $("fieldset").children("legend") .addClass("bl-autorepli") .append(' <i class="fa fa-caret-down"><i class="fa fa-caret-right" style="display:none">'); // Onclick $("fieldset legend.bl-autorepli").on("click", function() { $(this).siblings("ol,table").toggle(); $(this).children("i.fa").toggle(); }); // Hide by default $("fieldset#memberentry_address, fieldset#memberentry_altaddress").children("legend.bl-autorepli").click(); } }); === Needs rework. Feel free to propose a patch. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24758 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- I wonder if this should be considered a duplicate of Bug 3137? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24758 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #3 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Indeed looks a lot like it, thanks a lot Owen *** This bug has been marked as a duplicate of bug 3137 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org