From 3c2cd3e623a92d8280360347e9713096e27d152b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 16 Sep 2021 15:14:52 +0000 Subject: [PATCH] Bug 29041: Improve specificity of breadcrumbs in Additional Contents This patch adds a link to news or HTML customizations in the breadcrumbs navigation depending on which category of content you're adding or editing. To test, apply the patch and go to Tools -> News. - Begin the process of adding a news item. - In the breadcrumbs menu you should see: Additional contents > News > Add additional content - Clicking "News" should return you to the view of news items. - Test the same process in "HTML customizations." Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/additional-contents.tt | 7 +++++++ 1 file changed, 7 insertions(+) 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 0a7f55ef38..651b68e25b 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 @@ -36,6 +36,13 @@
  • Additional contents
  • +
  • + [% IF category == 'news' %] + News + [% ELSE %] + HTML customizations + [% END %] +
  • [% IF additional_content.idnew %] -- 2.39.5