Adding RFID tags to items using catalogue/moredetail template
authorMarijana Glavica <mglavica@ffzg.hr>
Wed, 28 Dec 2011 21:15:13 +0000 (22:15 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 17 Jan 2012 14:39:01 +0000 (15:39 +0100)
koha-tmpl/intranet-tmpl/prog/en/css/ffzg_staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt

index 57dac9a..fe1a755 100644 (file)
@@ -1,5 +1,5 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
+<title>Koha &rsaquo; Cataloging &rsaquo; Item details for [% FOREACH ITEM_DAT IN ITEM_DATA %] (barcode #[% ITEM_DAT.barcode %]) [% END %] [% title %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 <style type="text/css">h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}</style>
 </head>
     <br clear="all" />
     [% IF ( ONLY_ONE ) %]
         <div class="dialog message">You are only viewing one item.  <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber %]&amp;bi=[% biblioitemnumber %]#item[% itemnumber %]">View All</a></div>
+        <div class="dialog message">Press <strong>F4</strong> to add RFID tag.</div>
+    [% END %]
+    [% IF (count < 2) %]
+        <div class="dialog message">Press <strong>F4</strong> to add RFID tag.</div>
     [% END %]
     [% FOREACH ITEM_DAT IN ITEM_DATA %]
     <div class="yui-g">
@@ -47,6 +51,7 @@
         <div class="listgroup"><h4>Item Information [% IF ( CAN_user_editcatalogue_edit_catalogue ) %][% UNLESS ( ITEM_DAT.nomod ) %]
          [% IF ( CAN_user_editcatalogue_edit_items ) %]
          <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&amp;biblionumber=[% ITEM_DAT.biblionumber %]&amp;itemnumber=[% ITEM_DAT.itemnumber %]">[Edit Item]</a>
+         <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% ITEM_DAT.biblionumber %]&amp;itemnumber=[% ITEM_DAT.itemnumber %]">[RFID Tag]</a>
          [% END %]
          [% END %][% END %]</h4>
             <ol class="bibliodetails">
@@ -56,7 +61,7 @@
            [% END %]
             [% IF ( ITEM_DAT.collection ) %]<li><span class="label">Collection:</span> [% ITEM_DAT.collection %]</li> [% END %]
             <li><span class="label">Item Callnumber:</span> [% ITEM_DAT.itemcallnumber %]&nbsp;</li>
-            [% IF ( ITEM_DAT.copyvol ) %]<li><span class="label">Copy / Vol :</span> [% ITEM_DAT.copyvol %]&nbsp;</li> [% END %]
+            [% IF ( ITEM_DAT.copyvol ) %]<li><span class="label">Copy / Vol :</span><span class="emph">[% ITEM_DAT.copyvol %]</span>&nbsp;</li> [% END %]
             [% IF ( ITEM_DAT.replacementprice ) %]<li><span class="label">Replacement Price:</span> [% ITEM_DAT.replacementprice %]&nbsp;</li> [% END %]
            [% IF ITEM_DAT.materials %]<li><span class="label">Materials Specified:</span> [% ITEM_DAT.materials %] </li> [% END %]
             </ol></div>