From: Jared Camins-Esakov <jcamins@bywatersolutions.com>
To: dev@bywatersolutions.com
Cc: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Subject: [PATCH] Bug 5973: Add spans to staff client results
Date: Mon, 28 Mar 2011 13:17:33 -0400
Message-Id: <1301332653-5218-1-git-send-email-jcamins@bywatersolutions.com>
X-Mailer: git-send-email 1.7.2.3
X-Original-Sender: jcamins@bywatersolutions.com
X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com:
 209.85.220.170 is neither permitted nor denied by best guess record for
 domain of jcamins@bywatersolutions.com) smtp.mail=jcamins@bywatersolutions.com
Precedence: list
Mailing-list: list dev@bywatersolutions.com; contact dev+owners@bywatersolutions.com
List-ID: <dev.bywatersolutions.com>
X-Google-Group-Id: 274270250429
List-Help: <http://www.google.com/support/a/bywatersolutions.com/bin/static.py?hl=en_US&page=groups.cs>,
 <mailto:dev+help@bywatersolutions.com>
Content-Type: text/plain; charset="utf-8"

This patch adds spans with named classes to the results page on the staff client
so that the formatting can be adjusted with CSS and/or jQuery.
---
 .../prog/en/modules/catalogue/results.tmpl         |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl
index e98cfd3..90f3ac5 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl
@@ -463,12 +463,12 @@ YAHOO.util.Event.onContentReady("searchheader", function () {
                                             &nbsp;
                                         <!-- /TMPL_IF -->
                                         Description:
-                                        <!-- TMPL_IF name="place" --><!-- TMPL_VAR name="place" --> <!-- /TMPL_IF -->
-                                        <!-- TMPL_IF name="publishercode" --><!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF --> <!-- TMPL_IF name="publicationyear" --> <!-- TMPL_VAR name="publicationyear" --> <!-- TMPL_ELSIF name="copyrightdate"--> <!-- TMPL_VAR name="copyrightdate" --><!-- /TMPL_IF -->
-										<!-- TMPL_IF NAME="edition" -->Edition: <!-- TMPL_VAR NAME="edition" --><!-- /TMPL_IF -->
-                                        <!-- TMPL_IF name="pages" -->: <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
-                                        <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="normalized_isbn" -->ISBN: <!-- TMPL_VAR NAME="normalized_isbn" --><!-- /TMPL_IF -->
-                                        <!-- TMPL_VAR name="description" -->
+                                        <span class="results_imprint"><!-- TMPL_IF name="place" --><!-- TMPL_VAR name="place" --> <!-- /TMPL_IF -->
+                                        <!-- TMPL_IF name="publishercode" --><!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF --> <!-- TMPL_IF name="publicationyear" --> <!-- TMPL_VAR name="publicationyear" --> <!-- TMPL_ELSIF name="copyrightdate"--> <!-- TMPL_VAR name="copyrightdate" --><!-- /TMPL_IF --></span>
+										<!-- TMPL_IF NAME="edition" --><span class="results_edition">Edition: <!-- TMPL_VAR NAME="edition" --></span><!-- /TMPL_IF -->
+                                        <span class="results_physicaldesc"><!-- TMPL_IF name="pages" -->: <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
+                                        <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF --></span> <!-- TMPL_IF NAME="normalized_isbn" --><span class="results_isbn">ISBN: <!-- TMPL_VAR NAME="normalized_isbn" --></span><!-- /TMPL_IF -->
+                                        <span class="results_itemtype"><!-- TMPL_VAR name="description" --></span>
                                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
                                         <!-- TMPL_IF name="cn_class" -->[<a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="cn_class" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="cn_class" --></a>]<!-- /TMPL_IF -->
                                     </p>
-- 
1.7.2.3