Bugzilla – Attachment 184930 Details for
Bug 40560
Incorrect breadcrumb on recall history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40560: Use WRAPPER for recalls history breadcrumbs
Bug-40560-Use-WRAPPER-for-recalls-history-breadcru.patch (text/plain), 2.20 KB, created by
Jonathan Druart
on 2025-07-31 14:46:34 UTC
(
hide
)
Description:
Bug 40560: Use WRAPPER for recalls history breadcrumbs
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-31 14:46:34 UTC
Size:
2.20 KB
patch
obsolete
>From 00658d07d36fe54b6289abfc7fb6219a59a89830 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 31 Jul 2025 11:06:11 +0000 >Subject: [PATCH] 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> >--- > .../prog/en/modules/members/recallshistory.tt | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/recallshistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/recallshistory.tt >index 4f3de16351b..c8cdaa3468e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/recallshistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/recallshistory.tt >@@ -21,7 +21,20 @@ > [% INCLUDE 'patron-search-header.inc' %] > [% END %] > >-<div id="breadcrumbs"> <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › 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> >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40560
:
184922
|
184929
| 184930