Combine pub date and publisher into one field
authorJeff Godin <jgodin@tadl.org>
Mon, 23 Apr 2012 08:34:46 +0000 (04:34 -0400)
committerJeff Godin <jgodin@tadl.org>
Mon, 23 Apr 2012 08:34:46 +0000 (04:34 -0400)
Combine publication date and publisher into one field,
"Publication info".

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/opac/skin/tadlv4/js/rdetail.js
Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml

index 20a2c49..defdc2e 100644 (file)
@@ -441,8 +441,8 @@ function _rdetailDraw(r) {
        buildSearchLink(STYPE_AUTHOR, record.author(), G.ui.rdetail.author);
        G.ui.rdetail.isbn.appendChild(text(cleanISBN(record.isbn())));
        G.ui.rdetail.edition.appendChild(text(record.edition()));
-       G.ui.rdetail.pubdate.appendChild(text(record.pubdate()));
-       G.ui.rdetail.publisher.appendChild(text(record.publisher()));
+       G.ui.rdetail.pubinfo.appendChild(text(record.pubdate() + ' '));
+       G.ui.rdetail.pubinfo.appendChild(text(record.publisher()));
        $('rdetail_physical_desc').appendChild(text(record.physical_description()));
 
        if (record.series() && record.series() != '') {
index 19609d3..4b9bdb9 100644 (file)
                                </td>
                        </tr>
 
+            <tr>
+                <td nowrap='nowrap' class='rdetail_desc'>Publication info</td>
+                <td class='rdetail_item' id='rdetail_pubinfo'>
+                </td>
+            </tr>
+
                        <tr class='less'>
                                <td nowrap='nowrap' class='rdetail_desc'>&common.isbn;</td>                     
                                <td class='rdetail_item' id='rdetail_isbn'> </td>
                                <td class='rdetail_item' id='rdetail_edition'> </td>
                        </tr>
 
-                       <tr>
-                               <td nowrap='nowrap' class='rdetail_desc'>&common.pubdate;</td>          
-                               <td class='rdetail_item' id='rdetail_pubdate'> </td>
-                       </tr>
-
-                       <tr class='less'>
-                               <td nowrap='nowrap' class='rdetail_desc'>&common.publisher;</td>                
-                               <td class='rdetail_item' id='rdetail_publisher'> </td>
-                       </tr>
-
                        <tr id='series_row' class='hide_me'>
                                <td nowrap='nowrap' class='rdetail_desc'>Series</td>
                                <td class='rdetail_item' id='rdetail_series'> </td>
                config.ids.rdetail.author                               = 'rdetail_author';
                config.ids.rdetail.isbn                                 = 'rdetail_isbn';
                config.ids.rdetail.edition                              = 'rdetail_edition';
-               config.ids.rdetail.pubdate                              = 'rdetail_pubdate';
-               config.ids.rdetail.publisher                    = 'rdetail_publisher';
+               config.ids.rdetail.pubinfo                              = 'rdetail_pubinfo';
                config.ids.rdetail.tor                                  = 'rdetail_tor';
                config.ids.rdetail.abstr                                = 'rdetail_abstract';
                config.ids.rdetail.image                                = 'rdetail_image';