Bugzilla – Attachment 149911 Details for
Bug 33565
Use template wrapper for breadcrumbs: Tags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33565: Use template wrapper for breadcrumbs: Tags
Bug-33565-Use-template-wrapper-for-breadcrumbs-Tag.patch (text/plain), 3.18 KB, created by
Owen Leonard
on 2023-04-19 18:49:35 UTC
(
hide
)
Description:
Bug 33565: Use template wrapper for breadcrumbs: Tags
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-04-19 18:49:35 UTC
Size:
3.18 KB
patch
obsolete
>From 541f834f79da622d0822b8395574caf193872ea9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 19 Apr 2023 18:45:33 +0000 >Subject: [PATCH] Bug 33565: Use template wrapper for breadcrumbs: Tags > >This patch updates two tags templates so that they use the new >WRAPPER for displaying breadcrumbs. > >To test, apply the patch and test each page and its variations. >Breadcrumbs should look correct, and each link should be correct. > >- Tools -> > - Tags > - Click a tag to see titles with that tag >--- > .../prog/en/modules/tags/list.tt | 27 +++++++------------ > .../prog/en/modules/tags/review.tt | 23 ++++++---------- > 2 files changed, 18 insertions(+), 32 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt >index 59dcad2365..9043fdfe91 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt >@@ -16,25 +16,18 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > [% 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/tools/tools-home.pl">Tools</a> >- </li> >- <li> >+ [% END %] >+ [% WRAPPER breadcrumb_item %] > <a href="/cgi-bin/koha/tags/review.pl">Tags</a> >- </li> >- <li> >- <a href="#" aria-current="page"> >- Results for tag <em>[% tag | html %]</em> >- </a> >- </li> >- </ol> >-</nav> >-[% END %] >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Results for tag <em>[% tag | html %]</em></span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] >+[% END #/ WRAPPER sub-header.inc %] > > <div class="main container-fluid"> > <div class="row"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >index 2065d231b5..e259217ff9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >@@ -20,22 +20,15 @@ tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } > [% 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/tools/tools-home.pl">Tools</a> >- </li> >- <li> >- <a href="#" aria-current="page"> >- Tags >- </a> >- </li> >- </ol> >-</nav> >-[% END %] >+ [% END %] >+ [% WRAPPER breadcrumb_item bc_active= 1 %] >+ <span>Tags</span> >+ [% END %] >+ [% END #/ WRAPPER breadcrumbs %] >+[% END #/ WRAPPER sub-header.inc %] > > <div class="main 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 33565
:
149911
|
150050
|
150055
|
150058