We should add a syspref to control the visibility of the MARC documentation links on the cataloguing interface.
Created attachment 2911 [details] [review] Add sysprefs and use then to hide MARC docs stuff
We could also include a checkbox somewhere onscreen which controlled via JavaScript whether the documentation links appeared: [ ] Show MARC tag documentation links Then the option could be there for users who wanted it. The choice could be saved in a cookie.
Hoho, spanish-speaking mixes things up. hahaha
Created attachment 2922 [details] [review] Javascript-driven version - cookies missing yet
This bug is mentioned in: [Bug 5546] syspref to hide MARC documentation links http://lists.koha-community.org/pipermail/koha-patches/2010-December/013463.html [Bug 5546] javascript version - cookies handling missing yet http://lists.koha-community.org/pipermail/koha-patches/2010-December/013469.html [Bug 5546] javascript version - cookies handling missing yet http://lists.koha-community.org/pipermail/koha-patches/2010-December/013470.html [Bug 5546] javascript version - cookies handling missing yet http://lists.koha-community.org/pipermail/koha-patches/2010-December/013471.html
Created attachment 3230 [details] [review] Initial patch / cookies enabled
Created attachment 3275 [details] [review] Cleanup, simplify, by Owen Leonard
Created attachment 3623 [details] [review] Purge initial file Original patch does not apply. Caused by existing modification.
Checkbox on biblio notice appears correctly, well saved in cookie, refreshing the web page keep choice we did.
It is worth checking cookies work on a per-borrowernumber basis. It works here.
Signed off patch not on mailing list or attached
This bug is mentioned in: [Bug 5546] Javascript driven ability to hide MARC documentation links http://lists.koha-community.org/pipermail/koha-patches/2011-March/013954.html [Bug 5546] Follow-up / fixes http://lists.koha-community.org/pipermail/koha-patches/2011-March/014016.html
Pushed please test
Works for me.