Bug 35063 - Convert SelfCheckInMainUserBlock system preference to HTML customization
Summary: Convert SelfCheckInMainUserBlock system preference to HTML customization
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Self checkout (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on: 31383 35048
Blocks: 26050 35065
  Show dependency treegraph
 
Reported: 2023-10-16 11:55 UTC by Owen Leonard
Modified: 2023-12-11 21:04 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact: Caroline Cyr La Rose
Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/777
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:


Attachments
Bug 35063: Convert SelfCheckInMainUserBlock system preference to HTML customization (8.82 KB, patch)
2023-10-16 15:55 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: Convert SelfCheckInMainUserBlock system preference to HTML customization (9.03 KB, patch)
2023-10-25 16:15 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: (follow-up) Add entry to HTML customization help include (1.06 KB, patch)
2023-10-25 16:15 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: (follow-up) Add entry to HTML customization help include (1.13 KB, patch)
2023-10-25 16:20 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: Convert SelfCheckInMainUserBlock system preference to HTML customization (9.25 KB, patch)
2023-10-26 12:37 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: (follow-up) Add entry to HTML customization help include (1.13 KB, patch)
2023-10-26 12:37 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: Convert SelfCheckInMainUserBlock system preference to HTML customization (9.30 KB, patch)
2023-10-27 20:24 UTC, David Nind
Details | Diff | Splinter Review
Bug 35063: (follow-up) Add entry to HTML customization help include (1.18 KB, patch)
2023-10-27 20:24 UTC, David Nind
Details | Diff | Splinter Review
Bug 35063: Convert SelfCheckInMainUserBlock system preference to HTML customization (9.36 KB, patch)
2023-11-05 11:26 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 35063: (follow-up) Add entry to HTML customization help include (1.23 KB, patch)
2023-11-05 11:26 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 35063: Convert SelfCheckInMainUserBlock system preference to HTML customization (9.36 KB, patch)
2023-11-09 14:45 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: (follow-up) Add entry to HTML customization help include (1.23 KB, patch)
2023-11-09 14:45 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35063: (follow-up) Atomic update fixes (1.39 KB, patch)
2023-11-09 14:45 UTC, Owen Leonard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2023-10-16 11:55:10 UTC
Building on 22318, the SelfCheckInMainUserBlock system preference should be converted to an HTML customization option.
Comment 1 Owen Leonard 2023-10-16 15:55:08 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2023-10-25 16:15:49 UTC Comment hidden (obsolete)
Comment 3 Owen Leonard 2023-10-25 16:15:51 UTC Comment hidden (obsolete)
Comment 4 Owen Leonard 2023-10-25 16:20:39 UTC Comment hidden (obsolete)
Comment 5 Owen Leonard 2023-10-26 12:37:10 UTC Comment hidden (obsolete)
Comment 6 Owen Leonard 2023-10-26 12:37:12 UTC Comment hidden (obsolete)
Comment 7 David Nind 2023-10-27 20:24:26 UTC Comment hidden (obsolete)
Comment 8 David Nind 2023-10-27 20:24:28 UTC Comment hidden (obsolete)
Comment 9 Katrin Fischer 2023-11-05 11:26:17 UTC Comment hidden (obsolete)
Comment 10 Katrin Fischer 2023-11-05 11:26:20 UTC Comment hidden (obsolete)
Comment 11 Owen Leonard 2023-11-09 14:45:03 UTC
Created attachment 158735 [details] [review]
Bug 35063: Convert SelfCheckInMainUserBlock system preference to HTML customization

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

To test you should have some content in the SelfCheckInMainUserBlock
system preference before applying the patch. Apply the patch, run the
database update process, and rebuild the OPAC CSS.

- In the staff client, go to Tools -> HTML customizations and verify
  that the content from SelfCheckInMainUserBlock is now stored there.
- The HTML customization entry form should offer
  SelfCheckInMainUserBlock 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.
- Enable the "opaclanguagesdisplay" preference if necessary.
- Edit the SelfCheckInMainUserBlock HTML customization and add unique
  content to the "fr-FR" tab.

- Log into the self check-in system and confirm that the
  SelfCheckInMainUserBlock content is shown there.
- 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
  "SelfCheckInMainUserBlock." It should return no results.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 12 Owen Leonard 2023-11-09 14:45:05 UTC
Created attachment 158736 [details] [review]
Bug 35063: (follow-up) Add entry to HTML customization help include

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 13 Owen Leonard 2023-11-09 14:45:07 UTC
Created attachment 158737 [details] [review]
Bug 35063: (follow-up) Atomic update fixes
Comment 14 Tomás Cohen Arazi (tcohen) 2023-11-09 17:44:08 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 15 Fridolin Somers 2023-11-11 07:24:24 UTC
Enhancement not pushed to 23.05.x