Bug 6419 adds some HTML customizations to the staff interface. IntranetReportsHomeHTML is still a system preference. It would be nice to move it to HTML customizations with the others.
Created attachment 183135 [details] [review] Bug 34561: Move IntranetReportsHomeHTML to HTML customizations This patch moves the IntranetReportsHomeHTML system preference into HTML customizations, making it possible to have language- and library-specific content. To test you should have some content in the IntranetReportsHomeHTML 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 IntranetReportsHomeHTML is now stored there. - The HTML customization entry form should offer IntranetReportsHomeHTML 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 IntranetReportsHomeHTML HTML customization and add unique content to the "fr-FR" tab. - Go to the reports home page. You should see the content you added to the IntranetReportsHomeHTML 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 "IntranetReportsHomeHTML." It should return no results. Sponsored-by: Athens County Public Libraries
There's no db update so it doesn't move over. Additionally, the styling is a little different and it doesn't blend in as nicely. I'm guessing that's from <div id="[% IntranetReportsHomeHTML.location | html %]" class="page-section"> and the page section is making it stand out. Not sure that's a real problem, but I know some places use this for making what looks like an additional matching list of common reports that will snow stand out. Should it be IntranetReportsHomeHTML or should we rename it to StaffReportsHomeHTML for current terminology + to match most of the rest of the HTML customization?
Created attachment 183149 [details] [review] Bug 34561: Move IntranetReportsHomeHTML to HTML customizations This patch moves the IntranetReportsHomeHTML system preference into HTML customizations, making it possible to have language- and library-specific content. To test you should have some content in the IntranetReportsHomeHTML 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 IntranetReportsHomeHTML is now stored there. - The HTML customization entry form should offer IntranetReportsHomeHTML 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 IntranetReportsHomeHTML HTML customization and add unique content to the "fr-FR" tab. - Go to the reports home page. You should see the content you added to the IntranetReportsHomeHTML 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 "IntranetReportsHomeHTML." It should return no results. Sponsored-by: Athens County Public Libraries
Created attachment 183485 [details] [review] Bug 34561: Move IntranetReportsHomeHTML to HTML customizations This patch moves the IntranetReportsHomeHTML system preference into HTML customizations, making it possible to have language- and library-specific content. To test you should have some content in the IntranetReportsHomeHTML 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 IntranetReportsHomeHTML is now stored there. - The HTML customization entry form should offer IntranetReportsHomeHTML 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 IntranetReportsHomeHTML HTML customization and add unique content to the "fr-FR" tab. - Go to the reports home page. You should see the content you added to the IntranetReportsHomeHTML 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 "IntranetReportsHomeHTML." It should return no results. Sponsored-by: Athens County Public Libraries Signed-off-by: Ray Delahunty <lib-systems@arts.ac.uk>
This was signed off, sandboxes didn't update.
Created attachment 183512 [details] [review] Bug 34561: Move IntranetReportsHomeHTML to HTML customizations This patch moves the IntranetReportsHomeHTML system preference into HTML customizations, making it possible to have language- and library-specific content. To test you should have some content in the IntranetReportsHomeHTML 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 IntranetReportsHomeHTML is now stored there. - The HTML customization entry form should offer StaffReportsHome 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 StaffReportsHome HTML customization and add unique content to the "fr-FR" tab. - Go to the reports home page. You should see the content you added to the StaffReportsHome 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 "IntranetReportsHomeHTML." It should return no results. Sponsored-by: Athens County Public Libraries Signed-off-by: Ray Delahunty <lib-systems@arts.ac.uk> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com>
Created attachment 183513 [details] [review] Bug 34561: (QA follow-up) Rename to StaffReportsHome to match othe html customizations I noticed the rest of the html customizations don't have html in the option name, so I renamed for consistency.