Bugzilla – Attachment 167418 Details for
Bug 37030
Use template wrapper for breadcrumbs: Cash register stats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37030: Use template wrapper for breadcrumbs: Cash register stats
Bug-37030-Use-template-wrapper-for-breadcrumbs-Cas.patch (text/plain), 2.53 KB, created by
David Nind
on 2024-06-04 19:05:13 UTC
(
hide
)
Description:
Bug 37030: Use template wrapper for breadcrumbs: Cash register stats
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-06-04 19:05:13 UTC
Size:
2.53 KB
patch
obsolete
>From 8e2a25ddaad8577ddadf91048546b95d542be485 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 4 Jun 2024 17:17:33 +0000 >Subject: [PATCH] Bug 37030: Use template wrapper for breadcrumbs: Cash > register stats > >This patch updates the cash register statistics template so that they >use the new WRAPPER for displaying breadcrumbs. > >To test, apply the patch and test page and its variations. >Breadcrumbs should look correct, and each link should be correct. > >- Reports -> > - Cash register statistics > - Results > >Sponsored-By: Athens County Public Libraries >Signed-off-by: David Nind <david@davidnind.com> >--- > .../en/modules/reports/cash_register_stats.tt | 39 +++++++------------ > 1 file changed, 15 insertions(+), 24 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >index b1faf8f09a..0d6e646a3f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt >@@ -26,35 +26,26 @@ > [% INCLUDE 'cat-search.inc' %] > [% END %] > >+ > [% WRAPPER 'sub-header.inc' %] >-<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> >- <ol> >- <li> >- <a href="/cgi-bin/koha/mainpage.pl">Home</a> >- </li> >- <li> >+ [% WRAPPER breadcrumbs %] >+ [% WRAPPER breadcrumb_item %] > <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> >- </li> >- >+ [% END %] > [% IF ( do_it ) %] >- <li> >+ [% WRAPPER breadcrumb_item %] > <a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register statistics</a> >- </li> >- <li> >- <a href="#" aria-current="page"> >- Results >- </a> >- </li> >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Results</span> >+ [% END %] > [% ELSE %] >- <li> >- <a href="#" aria-current="page"> >- Cash register statistics >- </a> >- </li> >- [% END %] >- </ol> >-</nav> >-[% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Cash register statistics</span> >+ [% END %] >+ [% END # /IF do_it %] >+ [% END #/ WRAPPER breadcrumbs %] >+[% END #/ WRAPPER sub-header.inc %] > > <div class="main container-fluid"> > <div class="row"> >-- >2.39.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 37030
:
167411
|
167418
|
169995