adding bolding/unbolding to opac
authorJosh Lamos <jlamos@georgialibraries.org>
Thu, 3 May 2012 14:39:02 +0000 (10:39 -0400)
committerJosh Lamos <jlamos@georgialibraries.org>
Thu, 3 May 2012 14:39:02 +0000 (10:39 -0400)
Open-ILS/web/opac/skin/default/css/layout.css
Open-ILS/web/opac/skin/default/xml/result/result_table.xml

index 1197a74..81bda7a 100644 (file)
@@ -108,7 +108,7 @@ table { border-collapse: collapse; }
 .result_table_row { text-align: left; width: 100%;}
 .result_table_subtable { width: 100%; border-collapse: collapse; vertical-align: top;}
 .result_table_subtbody { height: 100%; width: 100%; }
-.result_table_title_cell { text-align: left; }
+.result_table_title_cell { text-align: left; font-weight: bold; }
 
 .copy_count_cell { width: 12%; vertical-align: middle; text-align: center; }
 .copy_count_div { width:  4em; height: 99%; vertical-align: middle; text-align: center; }
index 27dd3f7..a885d79 100644 (file)
 
                                 </td>
                             </tr>
-                            <tr name="local_callnumber_list" class="result_table_title_cell">
+                            <tr name="local_callnumber_list" class="result_table_title_cn_list">
                                 <td>
                                 <span type='opac/slot-data+holdings_xml-full' query='volumes'>
                                 <span class='hide_me' debug='true' type='opac/slot-format'><![CDATA[
                                                 loc_visible = location.getAttribute('opac_visible');
                                                 if (loc_visible == 't') {
                                                     if (!vol_appended) {
-                                                        var cn = dojo.create('span', { style: "font-weight: bold;" }, cp_entry);
+                                                        var cn = dojo.create('span', { style: "font-weight: normal;" }, cp_entry);
                                                         var cn_txt = dojo.doc.createTextNode(vol.getAttribute('label'));
                                                         cn.appendChild(cn_txt);
                                                         vol_appended = true;
                                                     }
-                                                    var loc = dojo.create('span', { "style": "font-weight: bold;"}, cp_entry);
+                                                    var loc = dojo.create('span', { "style": "font-weight: normal;"}, cp_entry);
                                                     var loc_txt = dojo.doc.createTextNode(' - ' + BT.textContent(location));
                                                     loc.appendChild(loc_txt);
                                                 }
                                                 return;
                                             }
                                             dojo.query('circ_lib', cp).forEach(function (circ_lib) {
-                                                var cp_lib = dojo.create('span', { "style": "font-weight: bold;" }, cp_entry, "first");
+                                                var cp_lib = dojo.create('span', { "style": "font-weight: normal;" }, cp_entry, "first");
                                                 var cp_lib_txt = dojo.doc.createTextNode(circ_lib.getAttribute('name') + ' - ');
                                                 cp_lib.appendChild(cp_lib_txt);
                                             });
                                             dojo.query('status', cp).forEach(function (status) {
-                                                var cp_status = dojo.create('span', { "style": "font-weight: bold;" }, cp_entry);
+                                                var cp_status = dojo.create('span', { "style": "font-weight: normal;" }, cp_entry);
                                                 var cp_status_txt = dojo.doc.createTextNode(' (' + BT.textContent(status) + ')');
                                                 cp_status.appendChild(cp_status_txt);
                                             });