Bug 29528: Breadcrumbs on HTML customizations take you to news
authorOwen Leonard <oleonard@myacpl.org>
Mon, 22 Nov 2021 16:46:01 +0000 (16:46 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 7 Dec 2021 21:45:00 +0000 (11:45 -1000)
commit61de505ef36e770d915e0b0f08d8e71e787fefa6
treef6d792207e6be1f2c0d547751d1647247a162f37
parentd308a064d75d3509b1a193af06203400b3b99d9d
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 <barbara.johnson@bedfordtx.gov>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt