Bugzilla – Attachment 127936 Details for
Bug 29528
Breadcrumbs on HTML customizations take you to news
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29528: Breadcrumbs on HTML customizations take you to news
Bug-29528-Breadcrumbs-on-HTML-customizations-take-.patch (text/plain), 2.52 KB, created by
Owen Leonard
on 2021-11-22 16:53:28 UTC
(
hide
)
Description:
Bug 29528: Breadcrumbs on HTML customizations take you to news
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-11-22 16:53:28 UTC
Size:
2.52 KB
patch
obsolete
>From d9c9175c82164c20fb7d081ac0ed975ab8a3fde9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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. >--- > .../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 61ba7886f5..15db63f4a7 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 @@ > <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> > </li> > >- <li> >- <a href="/cgi-bin/koha/tools/additional-contents.pl">Additional contents</a> >- </li> > [% IF op == 'add_form' %] > <li> > [% IF category == 'news' %] >@@ -49,9 +46,9 @@ > <li> > <a href="#" aria-current="page"> > [% 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 %] > </a> > </li> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29528
:
127936
|
127964
|
128167
|
128168