Bugzilla – Attachment 157053 Details for
Bug 34852
Use template wrapper for breadcrumbs: OPAC part 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34852: Use template wrapper for breadcrumbs: OPAC part 2
Bug-34852-Use-template-wrapper-for-breadcrumbs-OPA.patch (text/plain), 25.37 KB, created by
Philip Orr
on 2023-10-13 10:23:36 UTC
(
hide
)
Description:
Bug 34852: Use template wrapper for breadcrumbs: OPAC part 2
Filename:
MIME Type:
Creator:
Philip Orr
Created:
2023-10-13 10:23:36 UTC
Size:
25.37 KB
patch
obsolete
>From 4a64501a8eb008c9569c869276a5152cee351538 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 20 Sep 2023 15:10:17 +0000 >Subject: [PATCH] Bug 34852: Use template wrapper for breadcrumbs: OPAC part 2 > >This patch updates several OPAC templates so that they >use a new WRAPPER for displaying breadcrumbs. > >Apply the patch and log in to the OPAC. Test each of the following pages >and their variations. Breadcrumbs should look correct, and each link >should be correct: > >- Navigate to /cgi-bin/koha/ilsdi.pl > - Check a variety of links in the list >- Advanced search > - Locate a bibliographic record and view the ISBD detail page > - View the MARC detail page >- Locate a serial record which has a patron notification notice defined > in its subscription details > - On the detail view under the "Subscriptions" tab, click the > "Subscribe to email notification on new issues" button. > - Confirm the subscription, then when you return to the detail page, > click "Cancel email notification" to check that view as well. >- Authority search > - Perform a search which will return results > - Click the "Details" link on one of the results > - Also view the "MARC view" tab (note that I didn't address the > breadcrumb inconsistency between the normal and MARC view in > this patch). >- Try to view a bibliographic record which is suppressed in the > OPAC. Requires OpacSuppression enabled and OpacSuppressionRedirect set > to "An explanatory page" > - Set the value of 952$n to 1 to suppress it in the OPAC. >- In a system with ElasticSearch enabled, go to "Browse search" (or > navigate directly to /cgi-bin/koha/opac-browse.pl >- With OpacBrowser enabled, go to "Browse by hierarchy." > >Signed-off-by: Philip Orr <philip.orr@lmscloud.de> >--- > .../opac-tmpl/bootstrap/en/modules/ilsdi.tt | 134 ++++++++++++------ > .../bootstrap/en/modules/opac-ISBDdetail.tt | 15 +- > .../bootstrap/en/modules/opac-MARCdetail.tt | 16 +-- > .../bootstrap/en/modules/opac-advsearch.tt | 15 +- > .../en/modules/opac-alert-subscribe.tt | 32 ++--- > .../en/modules/opac-auth-MARCdetail.tt | 21 ++- > .../bootstrap/en/modules/opac-auth-detail.tt | 21 ++- > .../en/modules/opac-authorities-home.tt | 16 +-- > .../opac-authoritiessearchresultlist.tt | 21 ++- > .../bootstrap/en/modules/opac-blocked.tt | 15 +- > .../bootstrap/en/modules/opac-browse.tt | 15 +- > .../bootstrap/en/modules/opac-browser.tt | 16 +-- > 12 files changed, 166 insertions(+), 171 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >index 5af7fdf14f..c08fa7e97f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt >@@ -1,3 +1,4 @@ >+[% USE raw %] > [% USE Koha %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] > [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] >@@ -39,50 +40,97 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/opac-main.pl">Home</a></li> >- [% IF ( GetAvailability ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">GetAvailability</a></li> >- [% ELSIF ( GetRecords ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">GetRecords</a></li> >- [% ELSIF ( GetAuthorityRecords ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">GetAuthorityRecords</a></li> >- [% ELSIF ( LookupPatron ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">LookupPatron</a></li> >- [% ELSIF ( AuthenticatePatron ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">AuthenticatePatron</a></li> >- [% ELSIF ( GetPatronInfo ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">GetPatronInfo</a></li> >- [% ELSIF ( GetPatronStatus ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">GetPatronStatus</a></li> >- [% ELSIF ( GetServices ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">GetServices</a></li> >- [% ELSIF ( RenewLoan ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">RenewLoan</a></li> >- [% ELSIF ( HoldTitle ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">HoldTitle</a></li> >- [% ELSIF ( HoldItem ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">HoldItem</a></li> >- [% ELSIF ( CancelHold ) %] >- <li class="breadcrumb-item"><a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a></li> >- <li class="breadcrumb-item active"><a href="#" aria-current="page">CancelHold</a></li> >- [% ELSE %] >- <li class="breadcrumb-item active"><a href="#" aria-current="page">ILS-DI</a></li> >+ [% WRAPPER breadcrumbs %] >+ [% IF ( GetAvailability ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>GetAvailability</span> >+ [% END %] >+ [% ELSIF ( GetRecords ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>GetRecords</span> >+ [% END %] >+ [% ELSIF ( GetAuthorityRecords ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>GetAuthorityRecords</span> >+ [% END %] >+ [% ELSIF ( LookupPatron ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>LookupPatron</span> >+ [% END %] >+ [% ELSIF ( AuthenticatePatron ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>AuthenticatePatron</span> >+ [% END %] >+ [% ELSIF ( GetPatronInfo ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>GetPatronInfo</span> >+ [% END %] >+ [% ELSIF ( GetPatronStatus ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>GetPatronStatus</span> >+ [% END %] >+ [% ELSIF ( GetServices ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>GetServices</span> >+ [% END %] >+ [% ELSIF ( RenewLoan ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>RenewLoan</span> >+ [% END %] >+ [% ELSIF ( HoldTitle ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>HoldTitle</span> >+ [% END %] >+ [% ELSIF ( HoldItem ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>HoldItem</span> >+ [% END %] >+ [% ELSIF ( CancelHold ) %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/ilsdi.pl">ILS-DI</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>CancelHold</span> >+ [% END %] >+ [% ELSE %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>ILS-DI</span> > [% END %] >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt >index 3876988b4c..3259fdb845 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt >@@ -9,16 +9,11 @@ > [% INCLUDE 'masthead.inc' %] > <div class="main"> > >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">ISBD view for: [% biblio.title | html %]</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>ISBD view for: [% biblio.title | html %]</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >index 5090bc6b4a..0a0d42e0e5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt >@@ -8,16 +8,12 @@ > [% INCLUDE 'bodytag.inc' bodyid='opac-marcdetail' bodyclass='scrollto' %] > [% INCLUDE 'masthead.inc' %] > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">MARC view: [% bibliotitle | html %]</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>MARC view: [% bibliotitle | html %]</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index eb1edd78bc..133b352c66 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -12,16 +12,11 @@ > <form id="advsearch_form" action="/cgi-bin/koha/opac-search.pl" method="get"> > <input type="hidden" name="advsearch" value="1"/> > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">Advanced search</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Advanced search</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt >index 802c5f6f13..7ab3b0a25c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt >@@ -1,3 +1,4 @@ >+[% USE raw %] > [% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] > <title> [% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> >@@ -8,25 +9,18 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | uri %]">Details for [% bibliotitle | html %]</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page"> >- [% IF ( typeissue ) %] >- <span>Subscribe to a subscription alert</span> >- [% ELSIF ( typeissuecancel ) %] >- <span>Unsubscribe from a subscription alert</span> >- [% END %] >- </a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | uri %]">Details for [% bibliotitle | html %]</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ [% IF ( typeissue ) %] >+ <span>Subscribe to a subscription alert</span> >+ [% ELSIF ( typeissuecancel ) %] >+ <span>Unsubscribe from a subscription alert</span> >+ [% END %] >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt >index bb37926648..6518040de7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-MARCdetail.tt >@@ -18,19 +18,14 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">Entry [% authtypetext | html %]</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Entry [% authtypetext | html %]</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >index 82c219fede..661a9bc2b2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt >@@ -21,19 +21,14 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">[% summary.mainentry | html %][% IF authtypetext %] ([% authtypetext | html %])[% END %]</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ [% summary.mainentry | html %][% IF authtypetext %] ([% authtypetext | html %])[% END %] >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt >index 6214b41468..f51909adc8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authorities-home.tt >@@ -1,3 +1,4 @@ >+[% USE raw %] > [% USE Koha %] > [% USE AdditionalContents %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] >@@ -11,16 +12,11 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">Authority search</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Authority search</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >index d02d8f09e6..af67fadacc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt >@@ -46,19 +46,14 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">Results</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item %] >+ <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Results</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt >index 8520a26186..b20a8c677e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt >@@ -14,16 +14,11 @@ > [% INCLUDE 'bodytag.inc' bodyid='opac-blocked' %] > [% INCLUDE 'masthead.inc' %] > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">Blocked record</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Blocked record</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row justify-content-center"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >index 3f14c10576..d401191fb1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browse.tt >@@ -12,16 +12,11 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">Browse search</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Browse search</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >index f23f45f583..37dc42dac5 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-browser.tt >@@ -1,3 +1,4 @@ >+[% USE raw %] > [% USE Koha %] > [% USE AdditionalContents %] > [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] >@@ -11,16 +12,11 @@ > [% INCLUDE 'masthead.inc' %] > > <div class="main"> >- <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> >- <ol class="breadcrumb"> >- <li class="breadcrumb-item"> >- <a href="/cgi-bin/koha/opac-main.pl">Home</a> >- </li> >- <li class="breadcrumb-item active"> >- <a href="#" aria-current="page">Browse our catalog</a> >- </li> >- </ol> >- </nav> <!-- /#breadcrumbs --> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Browse our catalog</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] > > <div class="container-fluid"> > <div class="row"> >-- >2.30.2
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 34852
:
155960
|
157053
|
157055
|
157155