also hide the approve button when not in "full" display mode
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Jul 2008 18:40:48 +0000 (18:40 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Jul 2008 18:40:48 +0000 (18:40 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@10017 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html

index 6bd3a12..f989e3e 100644 (file)
@@ -109,13 +109,13 @@ pointing to the JUB model (and store) that you have created.
     <script>JUBGrid.showDetails = true;</script>
     <div id="${domprefix + '-container'}"
         dojoType="dijit.layout.ContentPane" sizeMin="20" sizeShare="50">
-% endif
         <div dojoType="dijit.layout.ContentPane"
              id=${domprefix+"-jub-buttonbar"}>
             <button dojoType="dijit.form.Button" onclick="JUBGrid.approveJUB">
                 ${_('Approve Selected Titles')}
             </button>
         </div>
+% endif
         <div structure='JUBGrid.jubGridLayout' jsid='${grid_jsid}' 
             dojoType='dojox.Grid' id="${domprefix + '-JUB-grid'}">
         </div>