style changes
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Nov 2005 23:19:11 +0000 (23:19 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Nov 2005 23:19:11 +0000 (23:19 +0000)
'opac.hits_per_page' plugged in

git-svn-id: svn://svn.open-ils.org/ILS/trunk@2064 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/opac_utils.js
Open-ILS/web/opac/skin/default/css/layout.css
Open-ILS/web/opac/skin/default/js/myopac.js
Open-ILS/web/opac/skin/default/xml/rdetail.xml

index 87a4d8c..9aa2a3f 100644 (file)
@@ -249,6 +249,10 @@ function grabUser(ses, force) {
        cookie.put(COOKIE_SES, ses);
        cookie.write();
 
+       grabUserPrefs();
+       if(G.user.prefs['opac.hits_per_page'])
+               COUNT = parseInt(G.user.prefs['opac.hits_per_page']);
+
        return G.user;
 
 }
index bc3ea2f..1afab75 100644 (file)
@@ -170,4 +170,7 @@ border-left: 1px solid #E0E0E0; border-top: 1px solid #E0E0E0; border-bottom: 1p
 .myopac_update_cell { border: 3px solid #E0E0E0; width:100%; padding-top: 4px; padding-bottom: 4px;}
 .myopac_update_span { padding: 5px;}
 
-#result_low_hits { border-top: 2px solid #A7EA9D; text-align: center; }
+#result_low_hits { border-top: 2px solid #A7EA9D }
+
+.lowhits_div { width: 100%; border-top: 1px solid #E0E0E0; text-align: center; 
+       padding-top: 8px; padding-bottom: 8px; }/*margin-top:15px; vertical-align: middle; }*/
index e273bfb..24356dc 100644 (file)
@@ -266,7 +266,7 @@ function _myOPACShowFines(r) {
        var total       = "0.00"; /* localization? */
        var paid                = "0.00";
        var balance = "0.00";
-       if( instanceOf(summary,mus) ) {
+       if( instanceOf(summary,mous) ) {
 
                total           = _finesFormatNumber(summary.total_owed());
                paid            = _finesFormatNumber(summary.total_paid());
@@ -403,6 +403,7 @@ function _myOPACSummaryShowUer(r) {
                template = tbody.removeChild($('myopac_addr_row'));
                addrRowTemplate = template;
        }
+       removeChildren(tbody);
 
        for( var a in user.addresses() ) {
                var row = template.cloneNode(true);
index 9564c82..f86bbee 100644 (file)
                                                                                        </td>
                                                                                        <td align='right' style='padding-right: 7px;'>
                                                                                                <span style='padding-right: 15px;'>
-                                                                                                       <a id='rdetail_place_hold'>Place Hold</a>
+                                                                                                       <a id='rdetail_place_hold' class='classic_link'>Place Hold</a>
                                                                                                </span>
-                                                                                               <a href="javascript:void(0);" id='rdetail_view_marc'>&rdetail.detailMain.viewMarc;</a>
+                                                                                               <a href="javascript:void(0);" id='rdetail_view_marc'
+                                                                                                       class='classic_link'>&rdetail.detailMain.viewMarc;</a>
                                                                                        </td>
                                                                                </tr>
                                                                        </tbody>