Bug 36671 - Reindent item transfer template (branchtransfers.tt)
Summary: Reindent item transfer template (branchtransfers.tt)
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Martin Renvoize (ashimema)
URL:
Keywords:
Depends on:
Blocks: 31671
  Show dependency treegraph
 
Reported: 2024-04-22 16:34 UTC by Owen Leonard
Modified: 2024-07-04 18:19 UTC (History)
5 users (show)

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


Attachments
Bug 36671: Reindent item transfer template (branchtransfers.tt) (31.85 KB, patch)
2024-04-22 16:50 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 36671: (follow-up) Add markup comments (3.74 KB, patch)
2024-04-22 16:50 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 36671: Reindent item transfer template (branchtransfers.tt) (31.90 KB, patch)
2024-04-22 17:49 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 36671: (follow-up) Add markup comments (3.79 KB, patch)
2024-04-22 17:49 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 36671: (follow-up) remove stray anchor tag (1.47 KB, patch)
2024-04-22 17:49 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 36671: Reindent item transfer template (branchtransfers.tt) (31.97 KB, patch)
2024-04-23 10:17 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review
Bug 36671: (follow-up) Add markup comments (3.86 KB, patch)
2024-04-23 10:17 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review
Bug 36671: (follow-up) remove stray anchor tag (1.53 KB, patch)
2024-04-23 10:17 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.