Bugzilla – Attachment 77397 Details for
Bug 21137
Replace BORROWER_INFO and USER_INFO with logged_in_user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19291: Make breadcrumbs for OPAC search history consistent with other patron account pages
Bug-19291-Make-breadcrumbs-for-OPAC-search-history.patch (text/plain), 1.77 KB, created by
Katrin Fischer
on 2018-08-01 19:27:42 UTC
(
hide
)
Description:
Bug 19291: Make breadcrumbs for OPAC search history consistent with other patron account pages
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-08-01 19:27:42 UTC
Size:
1.77 KB
patch
obsolete
>From b3ddbba4cd685b606d6a28bb28efaeef3a19f100 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 27 Jul 2018 17:22:54 +0000 >Subject: [PATCH] Bug 19291: Make breadcrumbs for OPAC search history > consistent with other patron account pages > >This patch adds the logged-in patron's name to the search history page's >breadcrumb navigation. > >To test, apply the patch and view the OPAC search history page with no >user logged in. The breadcrumbs should read: > >- Home -> Search history > >Log in and return to the search history page. The breadcrumbs should >read: > >- Home -> Owen Leonard -> Your search history > >Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> >Followed the test plan and it works. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >https://bugs.koha-community.org/show_bug.cgi?id=21137 >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >index f7ff403..5a8e07a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >@@ -13,6 +13,7 @@ > <ul class="breadcrumb"> > <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> > [% IF ( loggedinusername ) %] >+ <li><a href="/cgi-bin/koha/opac-user.pl">[% USER_INFO.firstname %] [% USER_INFO.surname %]</a> <span class="divider">›</span></li> > <li><a href="#">Your search history</a></li> > [% ELSE %] > <li><a href="#">Search history</a></li> >-- >2.1.4
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 21137
:
77364
|
77365
|
77369
|
77370
|
77371
|
77376
|
77377
|
77378
|
77397
|
77398
|
77399
|
77400
|
77401
|
77402
|
77403
|
77404