Bug 32193

Summary: Reindent item details template
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: Pushed to master --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: master   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/catalogue/moredetail.pl?biblionumber=X
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
22.11.00
Bug Depends on:    
Bug Blocks: 32042    
Attachments: Bug 32193: Reindent item details template
Bug 32193: (follow-up) Add markup comments
Bug 32193: (follow-up) Add markup comments

Description Owen Leonard 2022-11-14 16:10:47 UTC
I propose to reformat the item details template in the staff interface (moredetail.tt) so that it has consistent spacing and indentation.
Comment 1 Owen Leonard 2022-11-14 16:37:39 UTC
Created attachment 143844 [details] [review]
Bug 32193: Reindent item details template

This patch performs general template cleanup to the lists template:
Make indentation consistent, replace tabs with spaces, and trim trailing
whitespace.

To test, apply the patch and confirm that the layout of the page is
unchanged. Test the various operations on the page:

- Setting lost status
- Setting damaged status
- Setting withdrawn status
- Setting local holds priority status
- Adding a public or non-public note
Comment 2 Owen Leonard 2022-11-14 16:37:44 UTC
Created attachment 143845 [details] [review]
Bug 32193: (follow-up) Add markup comments

This patch adds comments to the template to highlight the markup
structure.

This patch should have no effect on the page's appearance or
functionality.
Comment 3 Katrin Fischer 2022-11-14 17:21:25 UTC
Created attachment 143848 [details] [review]
Bug 32193: (follow-up) Add markup comments

This patch adds comments to the template to highlight the markup
structure.

This patch should have no effect on the page's appearance or
functionality.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi 2022-11-16 12:40:26 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!