[Koha-bugs] [Bug 35154] Convert StaffLoginInstructions system preference to additional contents

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 21 19:30:08 CET 2023


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 159178
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159178&action=edit
Bug 35154: Convert StaffLoginInstructions system preference to additional
contents

This patch moves the StaffLoginInstructions system preference into HTML
customizations, making it possible to have language-specific content.

To test you should have some content in the StaffLoginInstructions
system preference before applying the patch. Apply the patch and run
the database update process.

- In the staff client, go to Tools -> HTML customizations and verify
  that the content from StaffLoginInstructions is now stored there.
- The HTML customization entry form should offer StaffLoginInstructions
  as a choice under "Display location."
- Update and reinstall active translations (for instance fr-FR):
  - perl misc/translator/translate update fr-FR
  - perl misc/translator/translate install fr-FR
- Enable the translation if necessary under Administration -> System
  preferences -> language.
- Edit the StaffLoginInstructions HTML customization and add unique
  content to the "fr-FR" tab.

- View the staff interface login page. You should see the
  content you added to the StaffLoginInstructions HTML customization.
- Switch to your updated translation and confirm that the content you
  added for your translation shows up correctly.
- Go to Administration -> System preferences and search for
  "StaffLoginInstructions." It should return no results.

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


More information about the Koha-bugs mailing list