Bug 31781 - Transferred items table (branchtransfers.tt) needs page-section class
Summary: Transferred items table (branchtransfers.tt) needs page-section class
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on: 30952
Blocks:
  Show dependency treegraph
 
Reported: 2022-10-13 21:25 UTC by Lucas Gass (lukeg)
Modified: 2023-12-28 20:43 UTC (History)
3 users (show)

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


Attachments
Bug 31781: Add page-section to branchtransfers page (15.93 KB, patch)
2022-10-13 22:23 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 31781: Add page-section to branchtransfers page (15.97 KB, patch)
2022-10-14 19:38 UTC, David Nind
Details | Diff | Splinter Review
Screenshots - Before and after patch applied (103.33 KB, application/pdf)
2022-10-14 20:10 UTC, David Nind
Details
Bug 31781: Add page-section to branchtransfers page (16.03 KB, patch)
2022-10-15 07:49 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2022-10-13 21:25:23 UTC
We need the page-section div added to the branchtransfers page to ensure proper contrast for even/odd rows on the tables.
Comment 1 Lucas Gass (lukeg) 2022-10-13 22:23:57 UTC
Created attachment 141851 [details] [review]
Bug 31781: Add page-section to branchtransfers page

This patch adds the page-section div to 2 tables on the branch transfer page.

To test:
1. Apply patch
2. Place an item level hold on a few items.
3. Now go to the branch transfer page and try transferring your items that have holds on them.
4. This should bring up a 'Reserve found' page. Look at the table and make sure it looks good with the page-section div added.
5. Now try some transfers that do not have holds. Make sure the table that populates also goods good with the page-section div added.

Note: There are some indentation changes.
Comment 2 David Nind 2022-10-14 19:38:44 UTC
Created attachment 141901 [details] [review]
Bug 31781: Add page-section to branchtransfers page

This patch adds the page-section div to 2 tables on the branch transfer page.

To test:
1. Apply patch
2. Place an item level hold on a few items.
3. Now go to the branch transfer page and try transferring your items that have holds on them.
4. This should bring up a 'Reserve found' page. Look at the table and make sure it looks good with the page-section div added.
5. Now try some transfers that do not have holds. Make sure the table that populates also goods good with the page-section div added.

Note: There are some indentation changes.

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2022-10-14 20:10:58 UTC
Created attachment 141903 [details]
Screenshots - Before and after patch applied

I've signed off, as this bug adds the page-section div.

I did notice a couple of things - see screenshots:
- When transferring, the page says "Reserve found", from our terminology list this should be "Hold found".
- There are grey backgrounds and a left border around the buttons.
- The text should be left aligned.
- The table looks "different" than others, I'm assuming because it is not using DataTables.

Have logged bug 31805 - Tidy up transfer pages (branchtransfers.pl) - terminology and styling for these
Comment 4 Katrin Fischer 2022-10-15 07:41:57 UTC
Don't forget to set assignee please!
Comment 5 Katrin Fischer 2022-10-15 07:48:03 UTC
This page needs a lot more work, but this does what is written on the tin.
Comment 6 Katrin Fischer 2022-10-15 07:49:33 UTC
Created attachment 141913 [details] [review]
Bug 31781: Add page-section to branchtransfers page

This patch adds the page-section div to 2 tables on the branch transfer page.

To test:
1. Apply patch
2. Place an item level hold on a few items.
3. Now go to the branch transfer page and try transferring your items that have holds on them.
4. This should bring up a 'Reserve found' page. Look at the table and make sure it looks good with the page-section div added.
5. Now try some transfers that do not have holds. Make sure the table that populates also goods good with the page-section div added.

Note: There are some indentation changes.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 7 Lucas Gass (lukeg) 2022-10-17 16:39:38 UTC
(In reply to Katrin Fischer from comment #5)
> This page needs a lot more work, but this does what is written on the tin.

Curious what other work you are referring to...
Comment 8 David Nind 2022-10-17 18:30:00 UTC
(In reply to Lucas Gass from comment #7)
..
> Curious what other work you are referring to...

See bug 31805 and the screenshots.
Comment 9 Katrin Fischer 2022-10-17 19:17:31 UTC
(In reply to Lucas Gass from comment #7)
> (In reply to Katrin Fischer from comment #5)
> > This page needs a lot more work, but this does what is written on the tin.
> 
> Curious what other work you are referring to...

David filed it as bug 31805, but there was also an older bug 25682
Comment 10 Katrin Fischer 2022-10-17 19:18:42 UTC
(In reply to David Nind from comment #8)
> (In reply to Lucas Gass from comment #7)
> ..
> > Curious what other work you are referring to...
> 
> See bug 31805 and the screenshots.

Ooops, missed that comment!
Comment 11 Tomás Cohen Arazi (tcohen) 2022-10-17 20:48:37 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!