From 53f7e584e3246fbffb76ad279b42c363029357fc Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 26 Oct 2015 08:44:17 +0100 Subject: [PATCH] Bug 15059 - Line break in html attribute In some templates, there is a line break inside href attribute. This generates an attribute with a lot of spaces %20. Test plan : - at intranet (same at OPAC) - perform a search on one word with a sort order (anything but relevance) - click on "Next" at the bottom of the page - look at link "Show more" in facets => Without patch the URL contains a lot of spaces => With patch the URL is correct - at intranet go to ciculation module - click on "Overdues with fines" - look at links "Phone", "Notice" and "Considered lost" => Without patch the URL contains a lot of spaces => With patch the URL is correct --- koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 3 +-- koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt | 9 +++------ koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 3 +-- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index 157366e..d7d2741 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -42,8 +42,7 @@ [% END %] [% IF ( facets_loo.expandable ) %]
  • - Show more + Show more
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt index dd2d7e6..ff3424d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt @@ -77,11 +77,9 @@ Mail [% END %]  |  - Phone + Phone  |  - Notice + Notice [% END %] [% IF ( overduesloo.overdue2 ) %] @@ -89,8 +87,7 @@ [% END %] [% IF ( overduesloo.overdue3 ) %] - Considered lost + Considered lost [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc index 958d571..48d996c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -51,8 +51,7 @@ [% END %] [% IF ( facets_loo.expandable ) %]
  • - Show more + Show more
  • [% END %] -- 2.1.0