Bugzilla – Attachment 124940 Details for
Bug 29041
Improve specificity of breadcrumbs in Additional Contents
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29041: Improve specificity of breadcrumbs in Additional Contents
Bug-29041-Improve-specificity-of-breadcrumbs-in-Ad.patch (text/plain), 1.75 KB, created by
Owen Leonard
on 2021-09-16 16:05:07 UTC
(
hide
)
Description:
Bug 29041: Improve specificity of breadcrumbs in Additional Contents
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-09-16 16:05:07 UTC
Size:
1.75 KB
patch
obsolete
>From 575796ebd46abfb6ecdc76b718e8367b2a884899 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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." >--- > .../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 c693a68b2e..0cf72a153f 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 @@ > <li> > <a href="/cgi-bin/koha/tools/additional-contents.pl">Additional contents</a> > </li> >+ <li> >+ [% IF category == 'news' %] >+ <a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a> >+ [% ELSE %] >+ <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a> >+ [% END %] >+ </li> > <li> > <a href="#" aria-current="page"> > [% IF additional_content.idnew %] >-- >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 29041
:
124940
|
124977
|
125368
|
125650
|
125651