Bugzilla – Attachment 105711 Details for
Bug 22807
Accessibility: Add 'Skip to main content' link
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22807: Ensure only one maincontent on searcresults
Bug-22807-Ensure-only-one-maincontent-on-searcresu.patch (text/plain), 1.94 KB, created by
Hayley Pelham
on 2020-06-10 22:19:08 UTC
(
hide
)
Description:
Bug 22807: Ensure only one maincontent on searcresults
Filename:
MIME Type:
Creator:
Hayley Pelham
Created:
2020-06-10 22:19:08 UTC
Size:
1.94 KB
patch
obsolete
>From af951806e23ae9570eacebaef8bd289d8c3ff4e0 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 10 Jun 2020 13:57:42 +0100 >Subject: [PATCH] Bug 22807: Ensure only one maincontent on searcresults > >Prior to this patch, if you entered a search that returned zero results, >you would end up with two 'maincontent' classes on the page > >Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 16 ++++++++++++++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index 17564fad73e..8a0176bd301 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -83,7 +83,7 @@ > </div> <!-- / .container-fluid --> > [% END # / UNLESS searchdesc %] > >- <div id="maincontent" class="container-fluid"> >+ <div class="container-fluid"> > <div class="row-fluid"> > [% IF ( opacfacets && total ) %] > <div class="span2"> >@@ -95,7 +95,19 @@ > </div> > [% END %] > >- [% IF ( opacfacets && total ) %]<div class="span10 maincontent">[% ELSE %]<div class="span12 maincontent">[% END %] >+ [% IF ( total ) %] >+ [% IF ( opacfacets ) %] >+ <div class="span10 maincontent"> >+ [% ELSE %] >+ <div class="span12 maincontent"> >+ [% END %] >+ [% ELSE %] >+ [% IF ( opacfacets ) %] >+ <div class="span10"> >+ [% ELSE %] >+ <div class="span12"> >+ [% END %] >+ [% END %] > > [% IF ( searchdesc ) %] > <p id="numresults"> >-- >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 22807
:
105663
|
105664
|
105678
|
105698
|
105699
|
105700
|
105708
|
105709
|
105710
|
105711
|
105712
|
105713
|
105714
|
106124
|
106125
|
106126
|
106127
|
106128