[Patches] [PATCH] Bug 7278: Follow up fixing display of item informaton on
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Wed Dec 21 03:13:11 NZDT 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date: Tue, 20 Dec 2011 08:40:03 +0100
Subject: [PATCH] Bug 7278: Follow up fixing display of item informaton on
detail page
Fixes a display problem in the item table on staff detail page.
To test:
Add a record with 3 items:
- 1 with copynumber
- 1 with materials specified
- 1 with opac notes
Before patch the table will be broken a bit and the headings
don't match the contents (wrong sequence).
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
---
.../prog/en/modules/catalogue/detail.tt | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index 2a4a975..d768ded 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -243,15 +243,14 @@ function verify_images() {
<th>Status</th>
<th>Last seen</th>
<th>Barcode</th>
- [% IF materials %]<th>Materials Specified</th>[% END %]
[% IF ( volinfo ) %]<th>Publication Details</th>[% END %]
[% IF ( itemdata_uri ) %]<th>url</th>[% END %]
[% IF ( itemdata_copynumber ) %]<th>Copy No.</th>[% END %]
+ [% IF materials %]<th>Materials Specified</th>[% END %]
[% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
[% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine Label</th>[% END %]
[% IF ( hostrecords ) %]<th>Host Records</th>[% END %]
- [% IF ( analyze ) %]<th>Used in</th>[% END %]
- [% IF ( analyze ) %]<th></th>[% END %]
+ [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
</tr>
[% FOREACH itemloo IN itemloop %]
<tr>
@@ -373,8 +372,8 @@ function verify_images() {
[% IF ( itemdata_copynumber ) %]
<td class="copynumber">[% itemloo.copynumber %]</td>
[% END %]
- [% IF itemloo.materials %]
- <td> [% itemloo.materials %] </td>
+ [% IF materials %]
+ <td class="materials"> [% itemloo.materials %] </td>
[% END %]
[% IF ( itemdata_itemnotes ) %]<td><div class="itemnotes">[% itemloo.itemnotes %]</div></td>[% END %]
[% IF ( SpineLabelShowPrintOnBibDetails ) %]
--
1.7.5.4
More information about the Patches
mailing list