Bugzilla – Attachment 99709 Details for
Bug 24746
Duplicate id in opacheader markup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24746: Duplicate id in opacheader markup
Bug-24746-Duplicate-id-in-opacheader-markup.patch (text/plain), 1.43 KB, created by
Owen Leonard
on 2020-02-27 17:40:19 UTC
(
hide
)
Description:
Bug 24746: Duplicate id in opacheader markup
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-02-27 17:40:19 UTC
Size:
1.43 KB
patch
obsolete
>From c533f3395f7731d5981b281d2a0e9e191280941c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 27 Feb 2020 02:06:34 +0000 >Subject: [PATCH] Bug 24746: Duplicate id in opacheader markup > >This patch removes '<div id="opacheader">' from masthead.inc >because the same markup is generated by koha_news_block. > >To reproduce the bug, make sure there is an opacheader news block >defined. Add this to the OPACUserCSS system preference: > >View the main page of the OPAC. You should see two blue borders around >the opacheader content. > >Apply the patch and reload the OPAC page. There should now be only one >blue border. >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index cef392338a4..a27be4d4871 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -150,9 +150,7 @@ > [% IF ( OpacHeader ) %] > <div class="container-fluid"> > <div class="row-fluid"> >- <div id="opacheader"> >- [% PROCESS koha_news_block news => OpacHeader %] >- </div> >+ [% PROCESS koha_news_block news => OpacHeader %] > </div> > </div> > [% END %] >-- >2.11.0
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 24746
:
99709
|
99738
|
99802
|
99803
|
99804
|
99805