Finishing circ page layout changes. Still need to iron out standards for warning...
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember.tmpl
index 3312174..32a985b 100644 (file)
@@ -1,30 +1,11 @@
 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
 <title>Koha &rsaquo; Patrons &rsaquo; <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --></title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
-<script type="text/javascript">
-//<![CDATA[
-function confirm_deletion() {
-    var is_confirmed = window.confirm('Click OK to confirm deletion');
-    var borrowernumbervalue=document.form.borrowernumber.value; 
-   
-    if (is_confirmed) {
-            window.location='/cgi-bin/koha/members/deletemem.pl?member='+borrowernumbervalue+'';
-    }
-}
-
-function confirm_reregistration() {
-    var is_confirmed = window.confirm('Click OK to confirm renewal');
-    var borrowernumbervalue1=document.form.borrowernumber.value;
-    if (is_confirmed) {
-    window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber='+borrowernumbervalue1+'';
-    }
-}
-//]]>
-</script>
+<!-- TMPL_INCLUDE NAME="yui-toolbars.inc" -->
 </head>
-<body>
+<body class="yui-skin-sam">
 <!-- TMPL_INCLUDE NAME="header.inc" -->
-<!-- TMPL_INCLUDE NAME="members-search.inc" -->
+<!-- TMPL_INCLUDE NAME="patron-search.inc" -->
 
 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --> </div>
 
@@ -35,7 +16,7 @@ function confirm_reregistration() {
        <div class="yui-b">
 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
 
-<div class="yui-g" style="border : 1px solid #CCCCCC;">
+<div class="yui-g">
 <!-- TMPL_IF NAME="unknowuser" -->
     This patron does not exist.
 <!-- TMPL_ELSE -->
@@ -64,7 +45,7 @@ function confirm_reregistration() {
 <!-- /TMPL_IF -->
 
 
- <div class="yui-u first" style="border-right : 1px solid #CCCCCC;">
+ <div class="yui-u first">
 <div id="patron-information" style="padding : .5em;">
 <h3>
     <!-- TMPL_UNLESS NAME="I" -->
@@ -121,9 +102,9 @@ function confirm_reregistration() {
     <h3>Alternate Address</h3>
     <!-- TMPL_UNLESS NAME="I"-->
       <!-- TMPL_UNLESS NAME="C"-->
-  <p><strong>Alternate address: </strong><!-- TMPL_VAR NAME="B_address" --></p>
-      <p><strong>Alternate city: </strong><!-- TMPL_VAR NAME="B_city" --></p>
-      <p><strong>Alternate zipcode: </strong><!-- TMPL_VAR NAME="B_zipcode" --></p>
+  <p><!-- TMPL_VAR NAME="B_address" --><br />
+      <!-- TMPL_VAR NAME="B_city" --><br />
+      <!-- TMPL_VAR NAME="B_zipcode" --></p>
   <!-- /TMPL_UNLESS -->
     <!-- /TMPL_UNLESS -->
  
@@ -141,7 +122,7 @@ function confirm_reregistration() {
 
 </div>
  <div class="yui-u"> 
- <div id="patron-library-details" style="padding : .5em;"
+ <div id="patron-library-details" style="padding : .5em;">
  <h3>Library use</h3>
  <ul>
     <li><strong>Patron number: </strong><!-- TMPL_VAR NAME="borrowernumber" --></li>
@@ -209,17 +190,9 @@ function confirm_reregistration() {
         <tr>
             <!-- /TMPL_IF -->
           <!-- /TMPL_IF -->
-            <td><!-- TMPL_VAR NAME="date_due" --></td>
-            <td>
-                <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
-                    <!-- TMPL_VAR NAME="title" -->
-                </a></p>
-                <p><!-- TMPL_VAR name="author" -->
-                    <!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF -->
-                    <!-- TMPL_IF name="publicationyear" -->- <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
-                </p>
-            </td>
+            <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> <!-- TMPL_IF name="publishercode" -->; <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --> <!-- TMPL_IF name="publicationyear" -->, <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->            </td>
             <td><!-- TMPL_VAR NAME="barcode" --></td>
+            <td><!-- TMPL_VAR NAME="date_due" --></td>
             <td>
                 <!-- TMPL_VAR NAME="itemtype_description" -->
                 <!-- TMPL_IF NAME="itemtype_image" -->
@@ -230,7 +203,7 @@ function confirm_reregistration() {
             <td><!-- TMPL_VAR NAME="replacementprice" --></td>
             <td>
             <!-- TMPL_IF name="norenew" -->
-                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Reserved</a>
+                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">On Hold</a>
             <!-- TMPL_ELSE -->
             <!-- TMPL_IF NAME="red" -->
             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
@@ -240,7 +213,7 @@ function confirm_reregistration() {
             <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
             <!-- /TMPL_IF -->
             </td>
-            <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Return</a></td>
+            <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
         </tr>
         <!-- /tmpl_loop -->
         <tr>
@@ -257,16 +230,18 @@ function confirm_reregistration() {
        </div>
        
 <div id="patrons-items-reserved" class="yui-g">
-       <h2>Patron current reserves</h2>
+       <h2>Patron current holds</h2>
 <!-- TMPL_IF NAME="reservloop" -->
+<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
+       <input type="hidden" name="from" value="borrower" />
        <table>
                <tr>
-                       <th>Reserve date</th>
+                       <th>Hold date</th>
                        <th>Barcode</th>
                        <th>Title</th>
                        <th>Author</th>
                        <th>Localisation</th>
-                       <th>Details</th>
+                       <th>&nbsp;</th>
                </tr>
                <!-- TMPL_LOOP NAME="reservloop" -->
                <tr class="<!-- TMPL_VAR NAME="color" -->">
@@ -278,36 +253,41 @@ function confirm_reregistration() {
                                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcodereserv" --></a>
                                                <!-- /TMPL_IF -->
                                                <!-- TMPL_IF NAME="waitingposition" -->
-                                               Waiting position for this document :
+                                        Queue for this item :
                                                <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
                                                <!-- /TMPL_IF -->
                                        </td>
                                        <td>
-                                               <!-- TMPL_VAR NAME="title" --> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>) 
+                                               <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>) 
 
                                                <!-- TMPL_IF name="waiting" -->
-                                               <i>This document is available</i>
+                                               <i>This item is available</i>
                                                <!-- /TMPL_IF -->
                                                <!-- TMPL_IF name="transfered" -->
-                                               <i>This document has been transfered from library : 
+                                               <i>This item has been transfered from library : 
                                                <!-- TMPL_VAR NAME="frombranch" --> the : <!-- TMPL_VAR NAME="datesent" --> </i>
                                                <!-- /TMPL_IF -->
 
                                                <!-- TMPL_IF name="nottransfered" -->
-                                               <i>This document hasn't been transfered yet from library : <!-- TMPL_VAR NAME="nottransferedby" --></i>
+                                               <i>This item hasn't been transfered yet from library : <!-- TMPL_VAR NAME="nottransferedby" --></i>
                                                <!-- /TMPL_IF -->
                                
                                        </td>
                                        <td><!-- TMPL_VAR NAME="author" --></td>
                                        <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
-                                       <td>
-                                           <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">view reserves </a>
-                                       </td>
+                                       <td><select name="rank-request">
+                       <option value="n">No</option>
+                       <option value="del">Yes</option>
+                       </select>
+               <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
+               <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" /></td>
                        </tr>
                <!-- /TMPL_LOOP -->
        </table>
+                       <p><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></p>
+       </form>
        <!-- TMPL_ELSE -->
-       <p>Patron has nothing on reserve.</p>
+       <p>Patron has nothing on hold.</p>
        <!-- /TMPL_IF -->
        </div>