Bug 35153 - Convert IntranetmainUserblock system preference to additional contents
Summary: Convert IntranetmainUserblock system preference to additional contents
Status: BLOCKED
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 31383 35152
Blocks: 26050 35154
  Show dependency treegraph
 
Reported: 2023-10-25 17:24 UTC by Owen Leonard
Modified: 2024-04-19 17:16 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 35153: Convert IntranetmainUserblock system preference to additional contents (10.10 KB, patch)
2023-11-21 18:09 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35153: Convert IntranetmainUserblock system preference to additional contents (10.12 KB, patch)
2023-12-04 17:23 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 35153: Convert IntranetmainUserblock system preference to additional contents (10.17 KB, patch)
2023-12-11 22:12 UTC, David Nind
Details | Diff | Splinter Review
Bug 35153: Convert IntranetmainUserblock system preference to additional contents (10.24 KB, patch)
2024-03-08 12:05 UTC, Kyle M Hall
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-25 17:24:37 UTC
Building on 22318, the IntranetmainUserblock system preference should be converted to an HTML customization option.
Comment 1 Owen Leonard 2023-11-21 18:09:54 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2023-12-04 17:23:19 UTC Comment hidden (obsolete)
Comment 3 David Nind 2023-12-11 22:12:15 UTC Comment hidden (obsolete)
Comment 4 Kyle M Hall 2024-03-08 12:05:50 UTC
Created attachment 162958 [details] [review]
Bug 35153: Convert IntranetmainUserblock system preference to additional contents

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

To test you should have some content in the IntranetmainUserblock
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 IntranetmainUserblock is now stored there.
- The HTML customization entry form should offer IntranetmainUserblock
  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 IntranetmainUserblock HTML customization and add unique
  content to the "fr-FR" tab.

- Go to the staff client home page. You should see the
  content you added to the IntranetmainUserblock 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
  "IntranetmainUserblock." It should return no results.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 5 Katrin Fischer 2024-04-19 17:16:41 UTC
Not sure about the dependency on bug 35152 - please check if it's required. 
Currently BLOCKED, please push back into my queue once the dependency was resolved.