Bug 30917: Improve course reserves breadcrumbs
authorOwen Leonard <oleonard@myacpl.org>
Tue, 7 Jun 2022 11:33:48 +0000 (11:33 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 14 Jun 2022 11:26:58 +0000 (08:26 -0300)
commit6eb56acba6a54f12c9d893206947045c2985c9b7
treec1cdb86301459df392136e924d55564f17b566b3
parent730719c90c3f6eeef7ca3713282878b3ab7be527
Bug 30917: Improve course reserves breadcrumbs

This patch adds course name to the breadcrumbs and page title on the
pages for adding items to a course.

To test, apply the patch and go to course reserves.

- Click a course to view it.
- Click the "Add reserves" button.
- In the breadcrumbs you should see:

  Home > Course reserves > [Course name] > Add reserves

- [Course name] should link correctly to the course detail view. In the
  page title you should see:

  Add reserves > [Course name] > Course reserves > Home

- Enter a barcode or biblionumber and proceed to the next step. Confirm
  that the same changes are in effect on the second page.
- Perform the same tests in the "Batch add reserves" process.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt