]> git.koha-community.org Git - koha.git/commit
Bug 10823: add class info to enumchron data in detail.tt, for better styling
authorMason James <mtj@kohaaloha.com>
Mon, 14 Apr 2014 12:11:16 +0000 (00:11 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 27 Apr 2014 20:52:43 +0000 (20:52 +0000)
commitbaa2fb2fbacf660a92fed4042697f3a87b193cde
tree4b84b42ddd8a428720619b432a4c9371bd419908
parent67e5181ca42f6f2e7d4525d755c9de957ef6d7a2
Bug 10823: add class info to enumchron data in detail.tt, for better styling

This patch adds spans to style parts of the enumchron and serialseq
information in the holdings table in the taff interface:

These include:

- items.enumchron
- the separator used
- serial.serialseq
- items.publisheddate

TEST PLAN
---------
1) Apply patch 10825
2) Find a biblio where the enumchron and serialseq are different.
   -- in MySQL:
      SELECT items.biblionumber,items.enumchron,serial.serialseq
      FROM items,serial,serialitems
      WHERE items.itemnumber=serilaitems.itemnumber
        AND serialitems.serialid=serial.serialid;
3) In the staff client, view the source for that item.
   -- It should be one class for the entire <td> cell.
4) Apply patch 10823
5) Refresh the page
6) Look at the source for that item again.
   -- It should have <span> tags around the 4 things listed
      above.
7) Run the koha qa test tools.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template change only, no regression found.
Using [%- -%] could improve readability of HTML source code.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt