Bug 29528 - Breadcrumbs on HTML customizations take you to news
Summary: Breadcrumbs on HTML customizations take you to news
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: master
Hardware: All All
: P5 - low minor (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 12:56 UTC by Katrin Fischer
Modified: 2021-11-23 16:04 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 29528: Breadcrumbs on HTML customizations take you to news (2.52 KB, patch)
2021-11-22 16:53 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 29528: Breadcrumbs on HTML customizations take you to news (2.58 KB, patch)
2021-11-23 16:04 UTC, PTFS Europe Sandboxes
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2021-11-19 12:56:55 UTC
Go to HTML customizations and click on it in the breadbrumbs and you'll end up on News.
Comment 1 Owen Leonard 2021-11-22 16:53:28 UTC
Created attachment 127936 [details] [review]
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.
Comment 2 Owen Leonard 2021-11-22 16:54:50 UTC
(In reply to Owen Leonard from comment #1)
> 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.

There are other changes I'd like to make to this template along these same lines, but I don't want to hold up this patch with string changes.
Comment 3 PTFS Europe Sandboxes 2021-11-23 16:04:12 UTC
Created attachment 127964 [details] [review]
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>