Bug 40560: Use WRAPPER for recalls history breadcrumbs

The recalls history template doesn't use the standard WRAPPER for
displaying breadcrumbs. This patch fixes it.

To test, apply the patch and enable recalls if necessary.

- Locate a patron and view their details.
- In the left-hand sidebar click "Recalls history"
- The breadcrumbs on the recalls history page should look correct, with
  styling consistent with other pages' breadcrumbs menus

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Flater <flaterdavid@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e9b20d0bba)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Owen Leonard 2025-07-31 11:06:11 +00:00 committed by Paul Derscheid
parent 0e45f60975
commit fc9f82de19
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 14 additions and 1 deletions

View File

@ -21,7 +21,20 @@
[% INCLUDE 'patron-search-header.inc' %]
[% END %]
<div id="breadcrumbs"> <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> &rsaquo; Recalls history for [% INCLUDE 'patron-title.inc' %] </div>
[% WRAPPER 'sub-header.inc' %]
[% WRAPPER breadcrumbs %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
[% END %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' %]</a>
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
<span>Recalls history</span>
[% END %]
[% END #/ WRAPPER breadcrumbs %]
[% END #/ WRAPPER sub-header.inc %]
[% WRAPPER 'main-container.inc' aside='circ-menu' %]
[% INCLUDE 'members-toolbar.inc' %]
<h1>Recalls history</h1>