Bug 36671

Summary: Reindent item transfer template (branchtransfers.tt)
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: RESOLVED FIXED QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, fridolin.somers, lucas, martin.renvoize, testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.05.00
Circulation function:
Bug Depends on:    
Bug Blocks: 31671    
Attachments: Bug 36671: Reindent item transfer template (branchtransfers.tt)
Bug 36671: (follow-up) Add markup comments
Bug 36671: Reindent item transfer template (branchtransfers.tt)
Bug 36671: (follow-up) Add markup comments
Bug 36671: (follow-up) remove stray anchor tag
Bug 36671: Reindent item transfer template (branchtransfers.tt)
Bug 36671: (follow-up) Add markup comments
Bug 36671: (follow-up) remove stray anchor tag

Description Owen Leonard 2024-04-22 16:34:33 UTC
I would like to update circ/branchtransfers.tt so that it has consistent indentation.
Comment 1 Owen Leonard 2024-04-22 16:50:34 UTC
Created attachment 165329 [details] [review]
Bug 36671: Reindent item transfer template  (branchtransfers.tt)

This patch reindents the item transfer template so that it has
consistent indentation, with tab indentation converted to space.

To test, apply the patch and go to Circulation -> Transfer. Test some
transfers, including transfers which trigger a hold notification.
Everything should work correctly.

If you view the diff while ignoring whitespace the only changes should
be places where line breaks were introduced.
Comment 2 Owen Leonard 2024-04-22 16:50:58 UTC
Created attachment 165330 [details] [review]
Bug 36671: (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 Lucas Gass (lukeg) 2024-04-22 17:49:24 UTC
Created attachment 165340 [details] [review]
Bug 36671: Reindent item transfer template (branchtransfers.tt)

This patch reindents the item transfer template so that it has
consistent indentation, with tab indentation coverted to space.

To test, apply the patch and go to Circulation -> Transfer. Test some
transfers, including transfers which trigger a hold notification.
Everything should work correctly.

If you view the diff while ignoring whitespace the only changes should
be places where line breaks were introduced.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 4 Lucas Gass (lukeg) 2024-04-22 17:49:26 UTC
Created attachment 165341 [details] [review]
Bug 36671: (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: Lucas Gass <lucas@bywatersolutions.com>
Comment 5 Lucas Gass (lukeg) 2024-04-22 17:49:28 UTC
Created attachment 165342 [details] [review]
Bug 36671: (follow-up) remove stray anchor tag

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 6 Martin Renvoize (ashimema) 2024-04-23 10:17:33 UTC
Created attachment 165366 [details] [review]
Bug 36671: Reindent item transfer template (branchtransfers.tt)

This patch reindents the item transfer template so that it has
consistent indentation, with tab indentation coverted to space.

To test, apply the patch and go to Circulation -> Transfer. Test some
transfers, including transfers which trigger a hold notification.
Everything should work correctly.

If you view the diff while ignoring whitespace the only changes should
be places where line breaks were introduced.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 7 Martin Renvoize (ashimema) 2024-04-23 10:17:35 UTC
Created attachment 165367 [details] [review]
Bug 36671: (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: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 8 Martin Renvoize (ashimema) 2024-04-23 10:17:38 UTC
Created attachment 165368 [details] [review]
Bug 36671: (follow-up) remove stray anchor tag

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 9 Martin Renvoize (ashimema) 2024-04-23 10:18:34 UTC
Nice bit of cleanup, great work.

Passing QA
Comment 10 Katrin Fischer 2024-04-29 07:44:17 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 11 Fridolin Somers 2024-05-24 09:57:39 UTC
Not backported to 23.11.x
Comment 12 Caroline Cyr La Rose 2024-07-04 18:19:00 UTC
Code formatting change, nothing to add/edit in the manual.