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@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Katrin Fischer 2011-12-20 08:40:03 +01:00 committed by Paul Poulain
parent a9e080a6fb
commit 52098370f5
1 changed files with 4 additions and 5 deletions

View File

@ -248,15 +248,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>
@ -378,8 +377,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 ) %]