fixed table row highlighting CSS class
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / addbooks.tmpl
index 8a5b770..0fa530d 100644 (file)
@@ -1,5 +1,6 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha &rsaquo; Cataloguing</title>
+<title>Koha &rsaquo; Cataloging</title>
+<!-- TMPL_INCLUDE NAME="greybox.inc" -->
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <script type="text/javascript">
        $(document).ready(function() {
 <!-- TMPL_INCLUDE NAME="header.inc" -->
 <!-- TMPL_INCLUDE NAME="cataloging-search.inc" -->
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Cataloguing</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Cataloging</div>
 
 <div id="doc" class="yui-t7">
    
    <div id="bd">
        <div id="yui-main">
+       
+<!-- TMPL_INCLUDE NAME="cataloging-toolbar.inc" -->
+       
        <!-- TMPL_IF name="noitemsfound" -->
-               No items found
+               No results found
        <!-- /TMPL_IF -->
-       
-<div id="addbooks_add_without_search">
-       <!-- TMPL_IF NAME="NOTMARC" -->
-               <form action="addbiblio.pl">
-                       <input type="submit" value="Add Record Without Search" />
-               </form>
-       <!-- TMPL_ELSE -->
-               <form name="f" action="addbiblio.pl" method="post">
-               <h3>Create a Blank Bibliographic Record</h3>
-               <p>
-                       <label for="frameworkcode">Choose a Framework:</label>
-                       <select name="frameworkcode" id="frameworkcode">
-                               <option value="">Default</option>
-                               <!-- TMPL_LOOP NAME="frameworkcodeloop" -->
-                                       <option value="<!-- TMPL_VAR NAME="value" -->">
-                                               <!-- TMPL_VAR NAME="frameworktext" -->
-                                       </option>
-                               <!-- /TMPL_LOOP -->
-                       </select>
-                       <input type="submit" value="Add Record Without Search" />
-               </p>
-               </form>
-                       <!-- /TMPL_IF -->
-</div>
-
 
 <!-- display the search results -->
 
 <!-- TMPL_IF NAME="total"-->
-<!-- TMPL_VAR NAME="total"--> Results found in catalogue.
+<!-- TMPL_VAR NAME="total"--> result(s) found in catalog,
+<a href="#searchresult-breeding"><!-- TMPL_VAR NAME="breeding_count" --> result(s) found in reservoir</a>
 <!-- TMPL_VAR name='pagination_bar'-->
 <div class="searchresults">
     <table>
         <tr>
             <th>Title</th>
             <th>Location</th>
+            <th>preview</th>
+            <th>&nbsp;</th>
             <th>&nbsp;</th>
         </tr>
     <!-- TMPL_LOOP NAME="resultsloop" -->
@@ -66,8 +48,8 @@
         <!-- /TMPL_IF -->
             <td>
                 <p>
-                    <!-- TMPL_VAR NAME="title" -->
-                <!-- TMPL_VAR NAME="subtitle" -->
+                    <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
+                <!-- TMPL_VAR NAME="subtitle" --></p>
                 <!-- TMPL_IF name="summary" -->
                     <p><!-- TMPL_VAR name="summary" --></p>
                 <!-- TMPL_ELSE -->
                         <!-- TMPL_ELSE -->
                             &nbsp;
                         <!-- /TMPL_IF -->
+                       <!-- TMPL_IF NAME="isbn" --> - <!-- TMPL_VAR NAME="isbn" --> <!-- /TMPL_IF -->
                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
+                        <!-- TMPL_IF name="copyrightdate" --> - <!-- TMPL_VAR name="copyrightdate" --><!-- /TMPL_IF -->
+                        <!-- TMPL_IF NAME="edition" -->Edition: <!-- TMPL_VAR NAME="edition" --><!-- /TMPL_IF -->
                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
                         </span>
                     <!-- /TMPL_IF -->
                     <span class="unavailable">
-                        <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
+                        <!-- TMPL_IF NAME="onloancount" --> Checked out (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
                     </span>
+                </td>
+                               <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">Card</a>
+                </td>
+                <td><!-- TMPL_IF NAME="CAN_user_editcatalogue"--><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit biblio</a>
+                                       <!-- TMPL_ELSE --><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" class="disabled" onclick="return false;">Edit biblio</a>
+                                       <!-- /TMPL_IF -->
+                    
                 </td>
                 <td>
-                    <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit biblio</a>
+                    <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Add holdings</a>
                 </td>
             </tr>
     <!-- /TMPL_LOOP -->
 </div>
 <!-- TMPL_ELSE -->
     <!-- TMPL_IF name='query'-->
-        <b>No Result found in catalogue.</b>
+        <!-- TMPL_IF NAME="error" --><div class="dialog alert"><!-- /TMPL_IF --><b>No results found</b>
         <!-- TMPL_IF NAME="error" -->
-            Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span>
+            Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span></div>
         <!-- /TMPL_IF -->
     <!-- /TMPL_IF -->
 <!-- /TMPL_IF -->
             <tr>
                 <th>Title</th>
                 <th>ISBN</th>
+                <th>Date</th>
+                <th>Edition</th>
                 <th>coming from</th>
-                <th>&nbsp;</th>
+                <th>preview</th>
                 <th>&nbsp;</th>
             </tr>
             <!-- TMPL_LOOP NAME="breeding_loop" -->
-            <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
-                <td><!-- TMPL_VAR NAME="title" -->
+            <!-- TMPL_IF NAME="__odd__" -->
+               <tr>
+            <!--  TMPL_ELSE -->
+               <tr class="highlight">
+            <!-- /TMPL_IF -->
+                <td><!-- TMPL_VAR NAME="title" escape="html" -->
                 <!-- TMPL_VAR NAME="author" --></td>
                 <td><!-- TMPL_VAR NAME="isbn" --></td>
+                <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
+                <td><!-- TMPL_VAR NAME="edition" --></td>
                 <td><!-- TMPL_VAR NAME="file" --></td>
-                <!-- TMPL_IF NAME="NOTMARC" -->
-                                    
+                <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=<!-- TMPL_VAR NAME="id" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=<!-- TMPL_VAR NAME="id" -->" title="MARC" rel="gb_page_center[600,500]">Card</a>
+                               </td>
+                <td><!-- TMPL_IF NAME="NOTMARC" -->
                 <!-- TMPL_ELSE -->
-                <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->">Add biblio</a></td>
-                <!-- /TMPL_IF -->
+                       <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->" <!-- TMPL_UNLESS NAME="CAN_user_editcatalogue" --> class="disabled" onclick="return false;"<!-- /TMPL_UNLESS -->>Add biblio</a>
+                <!-- /TMPL_IF --></td>
             </tr>
             <!-- /TMPL_LOOP -->
         </table>
 <!-- /TMPL_IF -->
 </div>
 </div>
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->