Bugzilla – Attachment 90259 Details for
Bug 22952
Markup error in OPAC suggestions template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22952: Markup error in OPAC suggestions template
Bug-22952-Markup-error-in-OPAC-suggestions-templat.patch (text/plain), 2.74 KB, created by
Arthur Bousquet
on 2019-05-31 20:00:14 UTC
(
hide
)
Description:
Bug 22952: Markup error in OPAC suggestions template
Filename:
MIME Type:
Creator:
Arthur Bousquet
Created:
2019-05-31 20:00:14 UTC
Size:
2.74 KB
patch
obsolete
>From f3af5b89427190d652713d4e21ef22ec8957af3e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 21 May 2019 16:00:18 +0000 >Subject: [PATCH] Bug 22952: Markup error in OPAC suggestions template > >This patch makes a minor correction to the OPAC suggestions template in >order to quiet an error returned by the HTML validator. > >To reproduce the problem you should have the 'suggestion' system >preference turned on, and you should be logged in to the OPAC as a user >who has submitted one or more suggestions. View the "your purchase >suggestions" page in the OPAC. Run the page through the W3C validation >service: https://validator.w3.org. Either by pasting in the URL for the >search results (if web accessible) or by viewing source, copying, and >pasting into "Validate by Direct Input." > >This patch specifically addresses these errors: > > - "End tag div seen, but there were open elements." > - "Unclosed element span." > >To test, apply the patch and try again to reproduce the validation >errors. Those errors should no longer be present. There should be no >visible change to the page. > >Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> >Signed-off-by: Bin Wen <bin.wen@inlibro.com> >Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com> >Signed-off-by: Arthur Bousquet <arthur.bousquet@inlibro.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >index 5ce43f2..2da7660 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -267,9 +267,11 @@ > > [% IF ( loggedinusername ) %] > <div id="selections-toolbar" class="toolbar"> >- <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span> >- <span class="links"><span id="selections">Select suggestions to: </span> >- <span id="removeitems"></span> >+ <span class="checkall"></span> <span class="clearall"></span> <span class="sep">|</span> >+ <span class="links"> >+ <span id="selections">Select suggestions to: </span> >+ <span id="removeitems"></span> >+ </span> > </div> > [% END %] > >-- >2.7.4
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 22952
:
89946
|
90092
|
90242
|
90249
|
90259
|
90267