From d3d02a42feb67a221917427a246ff2aa8b9dfe58 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 22 Mar 2012 16:34:28 +0100 Subject: [PATCH] Bug 4918: Add ids to OPAC detail page Patch adds an unique id to every item tab and to every column in the items table on the holdings tab. http://bugs.koha-community.org/show_bug.cgi?id=4819 --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 129 +++++++++++--------- 1 files changed, 73 insertions(+), 56 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 5c5b885..3a2ffb9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -501,64 +501,78 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
[% IF ( serialcollection ) %] @@ -566,8 +580,8 @@ YAHOO.util.Event.onContentReady("furtherm", function () { - - + + @@ -587,19 +601,19 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( lotsofitems ) %]

This record has many physical items. Click here to view them all.

[% ELSE %] -
LibrarySerial collectionLibrarySerial collection
- - [% IF ( item_level_itypes ) %][% END %] - - [% IF ( itemdata_ccode ) %][% END %] - - [% IF ( itemdata_enumchron ) %][% END %] - [% IF ( itemdata_uri ) %][% END %] - [% IF ( itemdata_copynumber ) %][% END %] - - [% IF ( itemdata_itemnotes ) %][% END %] - - +
Item typeLocationCollectionCall NumberVol InfourlCopyStatusNotesDate Due
+ + [% IF ( item_level_itypes ) %][% END %] + + [% IF ( itemdata_ccode ) %][% END %] + + [% IF ( itemdata_enumchron ) %][% END %] + [% IF ( itemdata_uri ) %][% END %] + [% IF ( itemdata_copynumber ) %][% END %] + + [% IF ( itemdata_itemnotes ) %][% END %] + + [% FOREACH ITEM_RESULT IN ITEM_RESULTS %] [% IF ( item_level_itypes ) %][% END %]
Item typeLocationCollectionCall NumberVol InfourlCopyStatusNotesDate Due
[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %][% ITEM_RESULT.description %][% END %][% END %] [% ITEM_RESULT.description %] @@ -719,14 +733,17 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% END %] [% IF ( MARCNOTES ) %] +
[% FOREACH MARCNOTE IN MARCNOTES %]

[% MARCNOTE.marcnote FILTER html_line_break %]

[% END %] - [% ELSE %] +
+[% ELSE %] [% IF ( notes ) %]

[% notes %]

[% END %] [% END %] + -- 1.7.5.4