Summary: | Convert IntranetmainUserblock system preference to additional contents | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Staff interface | Assignee: | Owen Leonard <oleonard> |
Status: | RESOLVED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | gmcharlt, lucas, testopia |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This enhancement converts the IntranetmainUserblock system preference to an entry in Tools -> Additional contents. This allows the user to create content to be shown on the staff client home page in multiple languages or with custom content for each library.
|
Version(s) released in: |
24.11.00
|
Circulation function: | |||
Bug Depends on: | 31383 | ||
Bug Blocks: | 26050 | ||
Attachments: |
Bug 35153: Convert IntranetmainUserblock system preference to additional contents
Bug 35153: Convert IntranetmainUserblock system preference to additional contents Bug 35153: Convert IntranetmainUserblock system preference to additional contents Bug 35153: Convert IntranetmainUserblock system preference to additional contents Bug 35153: Convert IntranetmainUserblock system preference to additional contents |
Description
Owen Leonard
2023-10-25 17:24:37 UTC
Created attachment 159177 [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. Created attachment 159551 [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. Created attachment 159721 [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> 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> 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. Created attachment 167243 [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. Sponsored-By: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed for 24.11! Well done everyone, thank you! Enhancement will not be included in the 24.05.x series |