From 0de50b3ad230b0663b1c51c46e6505f0a932f355 Mon Sep 17 00:00:00 2001 From: Katrin Fischer 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 --- .../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() { Status Last seen Barcode - [% IF materials %]Materials Specified[% END %] [% IF ( volinfo ) %]Publication Details[% END %] [% IF ( itemdata_uri ) %]url[% END %] [% IF ( itemdata_copynumber ) %]Copy No.[% END %] + [% IF materials %]Materials Specified[% END %] [% IF ( itemdata_itemnotes ) %]Public notes[% END %] [% IF ( SpineLabelShowPrintOnBibDetails ) %]Spine Label[% END %] [% IF ( hostrecords ) %]Host Records[% END %] - [% IF ( analyze ) %]Used in[% END %] - [% IF ( analyze ) %][% END %] + [% IF ( analyze ) %]Used in[% END %] [% FOREACH itemloo IN itemloop %] @@ -373,8 +372,8 @@ function verify_images() { [% IF ( itemdata_copynumber ) %] [% itemloo.copynumber %] [% END %] - [% IF itemloo.materials %] - [% itemloo.materials %] + [% IF materials %] + [% itemloo.materials %] [% END %] [% IF ( itemdata_itemnotes ) %]
[% itemloo.itemnotes %]
[% END %] [% IF ( SpineLabelShowPrintOnBibDetails ) %] -- 1.7.5.4