From b31e993b74a81d2b8c063410218a40374f2d8cdd Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Mon, 20 May 2013 12:55:17 -0400 Subject: [PATCH] Bug 8884: opacheader is not in the header on CCSR In CCSR the opacheader preference isn't really in the header it's to the right of the search box (see attached). I'm okay with a customizable region over there, but we should have a new preference for that and header should be above the search box as it implies. To test: 1) Put something in the OpacHeader syspref. Preferably something large and header-like for maximum effect. 2) Select CCSR theme. 3) View OPAC. Notice placement of "header" content. 4) Apply patch. 5) View OPAC. Notice placement of "header" content. 6) Sign off. Signed-off-by: Chris Cormack Signed-off-by: Kyle M Hall Passes koha-qa.pl, works as advertised with one caveat; the content of opacheader is by default underneath the div "top-bar". A couple breaks in my OpacHeader test made it visible, so I'm going to assume this is a styling issue and not a bug as such. Signed-off-by: Galen Charlton (cherry picked from commit 905292b6328bbc847b1b932fc15dfef9e9845295) Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc index fc29042bd0..41940664c4 100644 --- a/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc @@ -74,6 +74,12 @@ +
+[% IF ( opacheader ) %] + [% opacheader %] +[% END %] +
+