[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-reserve.tmpl,1.
From: |
Finlay Thompson |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-reserve.tmpl,1.2,1.3 opac-user.tmpl,1.3,1.4 |
Date: |
Mon, 14 Oct 2002 15:49:29 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/default/en
In directory usw-pr-cvs1:/tmp/cvs-serv7130
Modified Files:
opac-reserve.tmpl opac-user.tmpl
Log Message:
Fixed up the display of reserves.
Index: opac-reserve.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/default/en/opac-reserve.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** opac-reserve.tmpl 4 Oct 2002 00:09:27 -0000 1.2
--- opac-reserve.tmpl 14 Oct 2002 22:49:27 -0000 1.3
***************
*** 9,40 ****
</TMPL_IF>
<p>
Reserve page for item: <b><TMPL_VAR NAME="title"> ( <TMPL_VAR NAME="author">
)</b>
</p>
! <!-- The first time round you select which bibitems you want -->
! <TMPL_IF NAME="selectbibitems">
!
<p>
! Please select the biblioitems you want to reserve.
<p>
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
! <input type="hidden" name="bibitemsselected" value="1">
<input type="hidden" name="bib" value="<TMPL_VAR NAME='biblionumber'>">
<TABLE border=1>
! <tr><th>Request</th><th>Item
Type</th><th>Classification</th><th>Volume</th><th>Pubdate</th><th>Copies</th></tr>
! <TMPL_LOOP NAME="BIBLIOITEMS">
<tr>
<TMPL_UNLESS NAME="notforloan">
! <td><input type="checkbox" name="reqbib" value="<TMPL_VAR
NAME='biblioitemnumber'>"></td>
<TMPL_ELSE>
<td>Cannot be Reserved</td>
</TMPL_UNLESS>
<td><TMPL_VAR NAME="description"></td>
- <td><TMPL_VAR NAME="classification"><TMPL_VAR NAME="dewey"><TMPL_VAR
NAME="subclass"></td>
- <td><TMPL_VAR NAME="volumedesc"></td>
- <td><TMPL_VAR NAME="publicationyear"></td>
<td><TMPL_VAR NAME="copies"></td>
--- 9,50 ----
</TMPL_IF>
+ <TMPL_IF NAME="message">
+ <table cellpadding=5 cellspacing=0 border=1 >
+ <tr bgcolor="#fecc99" >
+ <td><font face="arial,helvetica" color="red" size=+1><B>
+ <TMPL_IF NAME="too_much_oweing">Sorry, you cannot make reseves because you
owe <TMPL_VAR NAME="too_much_oweing">, which is too much. </TMPL_IF>
+ <TMPL_IF NAME="too_many_reserves">Sorry, you cannot make reseves because you
already have <TMPL_VAR NAME="too_many_reserves">, more than enough. </TMPL_IF>
+ <TMPL_IF NAME="already_reserved">You already have a reserve placed on this
item.</TMPL_IF>
+ <TMPL_IF NAME="no_items_selected">You must select at least on item
type!</TMPL_IF>
+ </B></font><P></td></tr></table>
+ </TMPL_IF>
+
+
+ <TMPL_IF NAME="select_item_types">
+ <!-- The first time round you select which bibitems you want -->
+
<p>
Reserve page for item: <b><TMPL_VAR NAME="title"> ( <TMPL_VAR NAME="author">
)</b>
</p>
! <p> There are <b><TMPL_VAR NAME="rank"></b> reserves already on this item.
</p>
<p>
! Please select the item type you want to reserve:
<p>
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
! <input type="hidden" name="item_types_selected" value="1">
<input type="hidden" name="bib" value="<TMPL_VAR NAME='biblionumber'>">
<TABLE border=1>
! <tr bgcolor="#99cccc" background='<TMPL_VAR
NAME="themelang">/images/background-opac.gif'><th>Request</th><th>Item
Type</th><th>Copies</th></tr>
! <TMPL_LOOP NAME="TYPES">
<tr>
<TMPL_UNLESS NAME="notforloan">
! <td><input type="checkbox" name="itemtype" value="<TMPL_VAR
NAME='itemtype'>"></td>
<TMPL_ELSE>
<td>Cannot be Reserved</td>
</TMPL_UNLESS>
<td><TMPL_VAR NAME="description"></td>
<td><TMPL_VAR NAME="copies"></td>
***************
*** 44,49 ****
</table>
! Please select which branch you want to pick the item up from:
! <select name="branch"><TMPL_VAR NAME="branchoptions"></select>
--- 54,59 ----
</table>
! Please select the branch from which you want to collect the item:
! <select name="branch"><TMPL_VAR NAME="branchoptions"></select><br>
***************
*** 55,78 ****
<!-- if the bibitems have already been selected -->
! <TMPL_IF NAME="bibitemsselected">
<p>
! Place reserve on the following items:
<p>
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
! <input type="hidden" name="placereserve" value="1">
<input type="hidden" name="bib" value="<TMPL_VAR NAME='biblionumber'>">
! <TABLE>
! <tr><th>Item
Type</th><th>Classification</th><th>Volume</th><th>Pubdate</th></tr>
! <TMPL_LOOP NAME="BIBLIOITEMS">
<tr>
! <input type="hidden" name="reqbib" value="<TMPL_VAR
NAME='biblioitemnumber'>"></td>
<td><TMPL_VAR NAME="description"></td>
- <td><TMPL_VAR NAME="classification"><TMPL_VAR NAME="dewey"><TMPL_VAR
NAME="subclass"></td>
- <td><TMPL_VAR NAME="volumedesc"></td>
- <td><TMPL_VAR NAME="publicationyear"></td>
</tr>
--- 65,85 ----
<!-- if the bibitems have already been selected -->
! <TMPL_IF NAME="item_types_selected">
<p>
! Please confirm:
<p>
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
! <input type="hidden" name="place_reserve" value="1">
<input type="hidden" name="bib" value="<TMPL_VAR NAME='biblionumber'>">
! <TABLE border=1>
! <tr><th bgcolor="#99cccc" background='<TMPL_VAR
NAME="themelang">/images/background-opac.gif'>Item Type</th></tr>
! <TMPL_LOOP NAME="TYPES">
<tr>
! <input type="hidden" name="itemtype" value="<TMPL_VAR
NAME='itemtype'>"></td>
<td><TMPL_VAR NAME="description"></td>
</tr>
***************
*** 81,85 ****
</table>
! To be picked up from <b><TMPL_VAR NAME="branchname"></b>.<br>
<input type="hidden" name="bib" value="<TMPL_VAR NAME='branch'>">
--- 88,92 ----
</table>
! Which is to be picked up from <b><TMPL_VAR NAME="branchname"></b>.<br>
<input type="hidden" name="bib" value="<TMPL_VAR NAME='branch'>">
Index: opac-user.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/default/en/opac-user.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** opac-user.tmpl 2 Oct 2002 00:52:31 -0000 1.3
--- opac-user.tmpl 14 Oct 2002 22:49:27 -0000 1.4
***************
*** 29,39 ****
<TMPL_IF NAME="amountoverfive">
!
! <table cellpadding=10 cellspacing=0 border=1 >
! <tr bgcolor="#fecc99" >
! <td><font face="arial,helvetica" color="red" size=+2><B>You have Outstanding
charges and fines of <TMPL_VAR
NAME="amountoutstanding"></B></font><P></td></tr></table>
!
</TMPL_IF>
</TMPL_LOOP>
--- 29,46 ----
+ <table cellpadding=5 cellspacing=0 border=1>
+ <tr bgcolor="#fecc99">
+ <td>
<TMPL_IF NAME="amountoverfive">
! <font face="arial,helvetica" color="red" size=+2><B>You have Outstanding
charges and fines of <TMPL_VAR NAME="amountoutstanding"></B></font>
! <TMPL_ELSE>
! <TMPL_IF NAME="amountoverzero">
! <td><font face="arial,helvetica" size=+2><B>You have Outstanding charges
and fines of <TMPL_VAR NAME="amountoutstanding"></B></font>
! <TMPL_ELSE>
! <td><font face="arial,helvetica" size=+2><B>You have a credit of <TMPL_VAR
NAME="amountoutstanding"></B></font>
! </TMPL_IF>
</TMPL_IF>
+ <a href='/cgi-bin/koha/opac-account.pl'>View Accounts</a>
+ </td></tr></table>
</TMPL_LOOP>
***************
*** 58,62 ****
<TABLE CELLPADDING=5 CELLSPACING=0 border=1 >
! <TR VALIGN=TOP bgcolor="#99cccc">
<TD><B>Title</B></TD>
<TD><B>Author</B></TD>
--- 65,69 ----
<TABLE CELLPADDING=5 CELLSPACING=0 border=1 >
! <TR VALIGN=TOP bgcolor="#99cccc" background='<TMPL_VAR
NAME="themelang">/images/background-opac.gif'>
<TD><B>Title</B></TD>
<TD><B>Author</B></TD>
***************
*** 64,68 ****
<TD><B>Itemtype</B></TD>
<TD><B>Charges</B></TD>
! <TD><B>Status</B></TD>
</TR>
--- 71,75 ----
<TD><B>Itemtype</B></TD>
<TD><B>Charges</B></TD>
! <TD><B>Current Loan</B></TD>
</TR>
***************
*** 94,98 ****
<TABLE CELLPADDING=5 CELLSPACING=0 border=1 >
! <TR VALIGN=TOP bgcolor="#99cccc">
<TD><B>Title</B></TD>
<TD><B>Author</B></TD>
--- 101,105 ----
<TABLE CELLPADDING=5 CELLSPACING=0 border=1 >
! <TR VALIGN=TOP bgcolor="#99cccc" background='<TMPL_VAR
NAME="themelang">/images/background-opac.gif'>
<TD><B>Title</B></TD>
<TD><B>Author</B></TD>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-reserve.tmpl,1.2,1.3 opac-user.tmpl,1.3,1.4,
Finlay Thompson <=