[Koha-bugs] [Bug 18472] Add system preference CustomOnlineHelpStaff to hide / select custom online help system

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 21 15:57:13 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18472

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 62525
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62525&action=edit
Bug 18472: Add system preference CustomOnlineHelpStaff to hide / select custom
online help system

Online help pages in staff client display a button 'Edit help' which is not
wanted / needed for every installation. Introduce a system variable
CustomOnlineHelpStaff to manage the online help system. In a first step it
can select between 'None' and the existing 'File based help system'
(selected by default).

To test:
- In staff client, open help on some pages, including help on main page
- They have a button 'Edit help'. On main page help, yo see a text about
  'Can I edit the online help?'
- Apply patch, restart memcached and plack
- Update database
- In staff client, go to Administration > System preferences
- Search syspref 'CustomOnlineHelpStaff' verify that 'File based'
  is selected by default (i.e. the legacy custom help system)
- Verify that the help pages you visited look the same as before
- Change syspref 'CustomOnlineHelpStaff' to 'None'
- Visit the pages again, verify that 'Edit help' button and text about
  editing on main page help do no longer display.

Note to QAers: Please have a close look at
koha-tmpl/intranet-tmpl/prog/en/modules/help/mainpage.tt
I had to include there [% USE Koha %] again, to trigger
Koha.Preference('CustomOnlineHelpStaff').(It should trigger,
because [% USE Koha %] is already included help-top.inc)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list