Hide searchbar from myopac and other non-search related pages
authorBen Shum <bshum@biblio.org>
Fri, 20 Sep 2013 21:48:40 +0000 (17:48 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Sep 2013 22:45:11 +0000 (18:45 -0400)
Ugly hack to add the mobile_hide div class around the searchbar.tt2 includes.

Eventually should add some smarter options in searchbar.tt2 for displaying or not
in various interfaces.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/opac/mylist.tt2
Open-ILS/src/templates/opac/parts/myopac/base.tt2
Open-ILS/src/templates/opac/password_reset.tt2
Open-ILS/src/templates/opac/sms_cn.tt2

index 2a00a35..2164e41 100644 (file)
@@ -3,7 +3,9 @@
     WRAPPER "opac/parts/base.tt2";
     INCLUDE "opac/parts/topnav.tt2";
     ctx.page_title = l("Record Detail") %]
+    <div class="mobile_hide">
     [% INCLUDE "opac/parts/searchbar.tt2" %]
+    </div>
     <div id="content-wrapper">
         <div id="main-content">
             [%  IF ctx.mylist.size;
index 7f87968..3dae62f 100644 (file)
@@ -10,7 +10,9 @@
     skin_root = "../"
 %]
     [% INCLUDE "opac/parts/topnav.tt2" %]
+    <div class="mobile_hide">
     [% INCLUDE "opac/parts/searchbar.tt2" %]
+    </div>
     <div id="content-wrapper">
         <div id="myopac_tabs">
             <div id="acct_tabs">
index beb75c7..6bc6b24 100644 (file)
@@ -3,7 +3,9 @@
     INCLUDE "opac/parts/topnav.tt2";
     ctx.page_title = l('Library system password reset request form');
 -%]
+<div class="mobile_hide">
 [% INCLUDE "opac/parts/searchbar.tt2" %]
+</div>
 
 [%  
     uuid = ctx.page_args.0;
index 3ccbf6f..5353a70 100644 (file)
@@ -2,7 +2,9 @@
     WRAPPER "opac/parts/base.tt2";
     INCLUDE "opac/parts/topnav.tt2";
     ctx.page_title = l("Send Call Number via Text/SMS") %]
+    <div class="mobile_hide">
     [% INCLUDE "opac/parts/searchbar.tt2" %]
+    </div>
     <div id="content-wrapper">
         <div id="main-content">
             <div class="common-full-pad"></div>