From 8417d0445db2f6cf98bf1e834ec4bf624743204c 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 --- koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc | 12 +++++++----- 1 files 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 ec699f4..0069f74 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 %] +
+