https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38635

--- Comment #2 from Owen Leonard <[email protected]> ---
Created attachment 175251
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175251&action=edit
Bug 38635: Improve place hold confirmation page in the OPAC

This patch makes some markup and style changes to the hold confirmation
page in the OPAC with the intention of making the interface clearer and
less cluttered.

The "Place hold on" label for each title's checkbox has been hidden from
sighted users and visually grouped with the title information. The
checkbox itself is now hidden if only 1 hold is being placed.

The title is now a <legend> inside a <fieldset> in order to take
advantage of the fact that when fieldset has a "disabled" property the
form controls contained within are all disabled.

When placing multiple holds at once, unchecking the checkbox next to a
title will disable that title's form fields and give it a "disabled"
appearance.

Some Bootstrap grid markup has been added in order to improve the page's
responsive behavior. This update includes some indentation changes, so
ignore whitespace when viewing the diff.

Unrelated: Incorrect classes have been fixed on a few alerts. Also, CSS
related to a long-removed 3rd party service "iDreamBooks" has been
removed.

To test, apply the patch and rebuild the OPAC CSS.

- Log in to the OPAC as a user who can place holds.
- Perform a catalog search which will return multiple results.
- Next to one of those results, find a title which can be placed on
  hold and click the "Place hold" link.
  - On the hold confirmation page you should see the title of your hold
    and the standard controls. There should be no checkbox next to the
    title.
- Return to the search results page and check the checkbox for at
  least two items which are available to be place on hold. Click the
  "Place hold" button in the search results toolbar.
  - On the hold confirmation page you should see the titles you
    selected, each with a checkbox next to the title.
    - Uncheck one of the checkboxes. The details for that title should
      switch to "disabled" appearance. You should be unable to change
      the pickup location or click the "Show more options" link.
    - Re-check the checkbox and click the "Show more options" link to
      expand more fields.
    - Uncheck the checkbox again. The expanded section should collapse.
- Confirm that single and multiple holds are placed correctly. Test with
  various additional settings like expiration date or specific item to
  confirm that these options still work.

Sponsored-by: Athens County Public Libraries

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to