From c423b4e1a7311279cfb97465307c3604a1fc026b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 22 Nov 2021 16:46:01 +0000 Subject: [PATCH] Bug 29528: Breadcrumbs on HTML customizations take you to news This patch removes the "Additional contents" breadcrumb when working with news items or HTML customizations. Since news and HTML customizations are separate links on the Tools home page there's no reason to have the breadcrumbs imply the two sections are connected in any way. We already have the "See News" link, for example, for switching quickly between the two areas. To test, apply the patch and go to Tools -> News. - The breadcrumbs should be: Home > Tools > News - Click "New entry." The breadcrumbs should be: Home > Tools > News > Add additional content (News). Clicking "News" should take you to the correct page. - Go to Tools -> HTML customizations. - The breadcrumbs should be Home > Tools > HTML customizations. - Click "New entry." The breadcrumbs should be: Home > Tools > HTML customizations > Add additional content (HTML customizations). Clicking "HTML customizations" should take you to the correct page. Signed-off-by: Barbara Johnson Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/additional-contents.tt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index de1afef40e3..bab6a318c9c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -35,9 +35,6 @@ Tools -
  • - Additional contents -
  • [% IF op == 'add_form' %]
  • [% IF category == 'news' %] @@ -49,9 +46,9 @@
  • [% IF additional_content.idnew %] - Modify additional content + Modify additional content ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %]) [% ELSE %] - Add additional content + Add additional content ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %]) [% END %]
  • -- 2.25.1