koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en request.tmpl [dev_week]


From: Chris Cormack
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en request.tmpl [dev_week]
Date: Mon, 11 Jun 2007 22:23:14 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Chris Cormack <rangi>   07/06/11 22:23:14

Modified files:
        koha-tmpl/intranet-tmpl/npl/en: request.tmpl 

Log message:
        Changes needed to enable item level reserves

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/request.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.3.2.2.2.2&r2=1.3.2.2.2.3

Patches:
Index: request.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/Attic/request.tmpl,v
retrieving revision 1.3.2.2.2.2
retrieving revision 1.3.2.2.2.3
diff -u -b -r1.3.2.2.2.2 -r1.3.2.2.2.3
--- request.tmpl        19 Apr 2007 17:00:17 -0000      1.3.2.2.2.2
+++ request.tmpl        11 Jun 2007 22:23:14 -0000      1.3.2.2.2.3
@@ -14,13 +14,16 @@
 <div class="data">
        <table>
                <tr><th>Rank</th><td>
-<select name="rank-request">
+<!-- TMPL_IF NAME="CAN_user_editcatalogue" -->  <!-- FOR SMFPL -->
+       <select name="rank-request">
                        <!-- TMPL_LOOP Name="optionloop" -->
                                <option value="<!-- TMPL_VAR Name="num" 
-->"<!-- TMPL_IF Name="selected" --> selected="selected"<!-- /TMPL_IF -->>
                                        <!-- TMPL_VAR Name="num" -->
                                </option>
                        <!-- /TMPL_LOOP -->
                        </select>
+       <!-- TMPL_ELSE --><input type="text" size="2" name="rank-request" 
readonly="readonly" value="<!-- TMPL_VAR NAME="newpriority" -->" />
+       <!-- /TMPL_IF -->
                        </td></tr>
 
                <tr><th><label for="rsvnotes">Notes</label></th><td><input 
type="text" size="20" name="notes" id="rsvnotes"></tr>
@@ -46,8 +49,9 @@
                        <!-- TMPL_IF Name="itemlost" -->
                                Cannot be selected
                        <!-- TMPL_ELSE -->
-                               <input type="checkbox" name="reqbib" 
value="<!-- TMPL_VAR Name="biblioitemnumber" -->" checked="checked" />
+                               <input type="checkbox" name="reqbib" 
value="<!-- TMPL_VAR Name="biblioitemnumber" -->" />
                                <input type="hidden" name="biblioitem" 
value="<!-- TMPL_VAR Name="biblioitemnumber" -->" />
+                               <input type="hidden" name="itemnumber" 
value="<!-- TMPL_VAR Name="itemnumber" -->"  />
                        <!-- /TMPL_IF -->
                </td>
                <td>
@@ -70,6 +74,7 @@
 </table></div>
 
 <input type="submit" name="submit"  value="Place New Request"  
id="requestSubmit" class="submit" />
+
 </form>
 <!-- TMPL_IF NAME="reserveloop" -->
 <form name="T<!-- TMPL_VAR Name="time" -->" action="modrequest.pl" 
method="post">
@@ -89,7 +94,9 @@
                        <td>
                        <input type="hidden" name="borrowernumber" value="<!-- 
TMPL_VAR Name="borrowernumber" -->" />
                        <input type="hidden" name="biblio" value="<!-- TMPL_VAR 
Name="biblionumber" -->" />
-                       <select name="rank-request">
+                       <input type="hidden" name="itemnumber" value="<!-- 
TMPL_VAR Name="itemnumber" -->" />
+                       <select name="rank-request" <!-- TMPL_UNLESS 
NAME="CAN_user_editcatalogue" -->disabled="disabled"<!-- /TMPL_UNLESS --> <!-- 
FOR SMFPL -->>
+                               
                                <!-- TMPL_IF Name="wait" -->
                                        <option value="W" 
selected="selected">Consigned</option>
                                <!-- /TMPL_IF -->
@@ -133,17 +140,23 @@
                                                Next Available
                                        <!-- TMPL_ELSE -->
                                                <!-- TMPL_IF 
Name="constrainttypeo" -->
+                                                        <!-- TMPL_IF 
NAME="itemnumber" --> 
+                                                                 This Item 
only : <!-- TMPL_VAR NAME="barcode" -->
+                                                        <!-- TMPL_ELSE --> 
                                                        This type only : <!-- 
TMPL_VAR Name="volumeddesc" --> <!-- TMPL_VAR Name="itemtype" -->
                                                <!-- /TMPL_IF -->
                                        <!-- /TMPL_IF -->
                                <!-- /TMPL_IF -->
+                               <!-- /TMPL_IF -->
 
                        </td>
                </tr>
        <!-- /TMPL_LOOP -->
 </table>
+<!-- TMPL_IF NAME="CAN_user_editcatalogue" --> <!-- FOR SMFPL -->
 <p>Delete a request by selecting "del" from the rank list.</p>
 <p><input type="submit" name="submit"  value="Update List" class="submit" 
/></p>
+<!-- /TMPL_IF -->
 </div></form><!-- /TMPL_IF -->
 </div>
 <!-- TMPL_INCLUDE Name="intranet-bottom.inc" -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]