LP#1314902: Restore header bar styles on results pages
authorDan Wells <dbw2@calvin.edu>
Thu, 1 May 2014 17:47:46 +0000 (13:47 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 21 May 2014 00:00:42 +0000 (17:00 -0700)
Commit fc99f4f2 made an incomplete style change, changing
'results_header_bar' to be a class, but not changing the CSS.  The
simplest solution is to restore 'results_header_bar' to be an id, as
this fixes the main view, the responsive view, and also any custom CSS
which might affect this id.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/opac/results.tt2

index a99ac0d..8e6e3a1 100644 (file)
@@ -41,7 +41,7 @@
           <br/>
           [% END %]
         [% END %]
-        <div class="results_header_bar[%- IF ctx.metarecord %] hidden[% END -%]">
+        <div id="results_header_bar" [%- IF ctx.metarecord %]class="hidden"[% END -%]>
             <div id="results_header_inner">
                 <div class="results_header_btns">
                     <a href="[% mkurl(ctx.opac_root _ '/home', {$loc_name => loc_value}, 1) %]">[% l('Another Search') %]</a>