From 0d4ef0467c7909289b013a1f86a644ebd04a3d33 Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 Signed-off-by: Barbara Johnson Signed-off-by: Lucas Gass Signed-off-by: Tomas Cohen Arazi --- .../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' %] - -[% END %] + [% END %] + [% WRAPPER breadcrumb_item bc_active= 1 %] + Results for tag [% tag | html %] + [% END %] + [% END #/ WRAPPER breadcrumbs %] +[% END #/ WRAPPER sub-header.inc %]
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' %] - -[% END %] + [% END %] + [% WRAPPER breadcrumb_item bc_active= 1 %] + Tags + [% END %] + [% END #/ WRAPPER breadcrumbs %] +[% END #/ WRAPPER sub-header.inc %]
-- 2.39.5