From 52098370f51994b4f89f2e2a0dda03a9700aa26f 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 Signed-off-by: Paul Poulain --- .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 9 ++++----- 1 file 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 5740c1f754..6238f05fde 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -248,15 +248,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 %] @@ -378,8 +377,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 ) %] -- 2.20.1