From 41c41fc212ba87645007362ffca15ceb81a98e22 Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Mon, 23 Apr 2012 04:34:46 -0400 Subject: [PATCH] Combine pub date and publisher into one field Combine publication date and publisher into one field, "Publication info". Signed-off-by: Jeff Godin --- Open-ILS/web/opac/skin/tadlv4/js/rdetail.js | 4 ++-- .../opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml | 19 +++++++------------ 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js b/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js index 20a2c49214..defdc2e112 100644 --- a/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js +++ b/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js @@ -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() != '') { diff --git a/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml b/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml index 19609d3294..4b9bdb904a 100644 --- a/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml +++ b/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml @@ -46,6 +46,12 @@ + + Publication info + + + + &common.isbn; @@ -56,16 +62,6 @@ - - &common.pubdate; - - - - - &common.publisher; - - - Series @@ -422,8 +418,7 @@ 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'; -- 2.11.0