koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en opac-user.tmpl,1.1,1.2


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en opac-user.tmpl,1.1,1.2
Date: Wed, 19 Jan 2005 13:22:01 -0800

Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/npl/en
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8040/koha-tmpl/opac-tmpl/npl/en

Modified Files:
        opac-user.tmpl 
Log Message:
Updated to show items as waiting only if destination branch matches holding 
branch.  Reserves table is also updated to show 'waiting' if item is at its 
destination branch, or 'in-transit' if item has been allocated but hasn't 
arrived yet.

Index: opac-user.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-user.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** opac-user.tmpl      20 Oct 2004 19:15:07 -0000      1.1
--- opac-user.tmpl      19 Jan 2005 21:21:59 -0000      1.2
***************
*** 41,55 ****
                <caption>Reserved Items Waiting</caption>
                <tr>
!                       <th>Title</th>
!                       <th>Author</th>
                        <th>Reserve date</th>
                        <th>Pick Up Branch</th>
                </tr>
                <!-- TMPL_LOOP NAME="WAITING" -->
!                       <tr>
                                <td>
!                                       <b><a href="opac-detail.pl?bib=<!-- 
TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" 
--></a></b></td><td><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" 
--><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td><td><!-- TMPL_VAR 
NAME="reservedate" --></td><td><b><!-- TMPL_VAR NAME="branch" --> <!-- TMPL_VAR 
NAME="holdingbranch" --></b>
!                               </td>
!                       </tr>
                <!-- /TMPL_LOOP -->
        </table>
--- 41,59 ----
                <caption>Reserved Items Waiting</caption>
                <tr>
!                       <th colspan="2">Title</th>
                        <th>Reserve date</th>
                        <th>Pick Up Branch</th>
                </tr>
                <!-- TMPL_LOOP NAME="WAITING" -->
!                       <!-- TMPL_IF NAME="atdestination" --><tr>
!                       <td><img src="<!-- TMPL_VAR NAME="themelang" 
-->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR 
NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" /></td>
                                <td>
!                                       <a href="opac-detail.pl?bib=<!-- 
TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a><span 
class="item-details">
! <!-- TMPL_VAR NAME="author" --></span></td><td><!-- TMPL_VAR 
NAME="reservedate" --></td><td><!-- TMPL_IF NAME="atdestination" -->
!                               <strong>Waiting</strong> at <!-- TMPL_VAR 
Name="branch" -->
!                               <!-- TMPL_ELSE -->
!                               In transit from <!-- TMPL_VAR 
NAME="holdingbranch" --> to <!-- TMPL_VAR Name="branch" -->
!                               <!-- /TMPL_IF --></td>
!                       </tr><!-- /TMPL_IF -->
                <!-- /TMPL_LOOP -->
        </table>
***************
*** 69,75 ****
  <!-- TMPL_LOOP NAME="OVERDUES" -->
  <tr>
! <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR 
NAME="itemtype" -->.gif" alt="" /></td>
  <td> <a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span 
class="item-details">
! <!-- TMPL_VAR NAME="author" --> (<!-- TMPL_VAR NAME="itemtype" 
-->)</span></td>
  <td><!-- TMPL_VAR NAME="date_due" --></td>
  <!-- <td><!-- TMPL_VAR NAME="charges" --></td> -->
--- 73,79 ----
  <!-- TMPL_LOOP NAME="OVERDUES" -->
  <tr>
! <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR 
NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- 
TMPL_VAR NAME="description" -->" /></td>
  <td> <a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span 
class="item-details">
! <!-- TMPL_VAR NAME="author" --></span></td>
  <td><!-- TMPL_VAR NAME="date_due" --></td>
  <!-- <td><!-- TMPL_VAR NAME="charges" --></td> -->
***************
*** 86,90 ****
  <th>Due</th>
  <!-- <th>Fines</th> -->
! <th>Status</th>
  </tr>
  
--- 90,94 ----
  <th>Due</th>
  <!-- <th>Fines</th> -->
! <!-- <th>Status</th> -->
  </tr>
  
***************
*** 92,101 ****
  
  <tr>
! <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR 
NAME="itemtype" -->.gif" alt="" /></td>
  <td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span 
class="item-details">
! <!-- TMPL_VAR NAME="author" --> (<!-- TMPL_VAR NAME="itemtype" 
-->)</span></td>
  <td><!-- TMPL_VAR NAME="date_due" --></td>
  <!-- <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF 
--></td> -->
! <td>
  <!-- TMPL_IF NAME="status" -->
  <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR 
NAME="itemnumber" -->&amp;bornum=<!-- TMPL_VAR NAME="borrowernumber" -->" 
class="padded">Renew</a>
--- 96,105 ----
  
  <tr>
! <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR 
NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- 
TMPL_VAR NAME="description" -->" /></td>
  <td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span 
class="item-details">
! <!-- TMPL_VAR NAME="author" --></span></td>
  <td><!-- TMPL_VAR NAME="date_due" --></td>
  <!-- <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF 
--></td> -->
! <!-- <td>
  <!-- TMPL_IF NAME="status" -->
  <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR 
NAME="itemnumber" -->&amp;bornum=<!-- TMPL_VAR NAME="borrowernumber" -->" 
class="padded">Renew</a>
***************
*** 103,107 ****
  Not renewable
  <!-- /TMPL_IF -->
! </td>
  </tr>
  <!-- /TMPL_LOOP -->
--- 107,111 ----
  Not renewable
  <!-- /TMPL_IF -->
! </td> -->
  </tr>
  <!-- /TMPL_LOOP -->
***************
*** 121,136 ****
  <!-- RESERVES TABLE ROWS -->
  <tr>
! <th>Title</th>
  <th>Placed On</th>
  <th>Pick Up Location</th>
  <!-- <th>Status</th> -->
  </tr>
  <!-- TMPL_LOOP NAME="RESERVES" -->
  <tr>
  <td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a><span 
class="item-details">
! <!-- TMPL_VAR NAME="author" --> <!-- TMPL_IF NAME="itemtype" -->(<!-- 
TMPL_VAR NAME="itemtype" -->)<!-- /TMPL_IF --></span></td>
  <td><!-- TMPL_VAR NAME="reservedate" --></td>
! <td><!-- TMPL_VAR NAME="branch" --></td>
! <!--  --></tr>
  <!-- /TMPL_LOOP -->
  </table></div>
--- 125,144 ----
  <!-- RESERVES TABLE ROWS -->
  <tr>
! <th colspan="2">Title</th>
  <th>Placed On</th>
  <th>Pick Up Location</th>
+ <th>Status</th>
  <!-- <th>Status</th> -->
  </tr>
  <!-- TMPL_LOOP NAME="RESERVES" -->
  <tr>
+ <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR 
NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- 
TMPL_VAR NAME="description" -->" /></td>
  <td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a><span 
class="item-details">
! <!-- TMPL_VAR NAME="author" --></span></td>
  <td><!-- TMPL_VAR NAME="reservedate" --></td>
! <td><!-- TMPL_VAR Name="branch" --></td>
! <td><!-- TMPL_IF NAME="atdestination" -->
!                               <strong>Waiting</strong> at <!-- TMPL_VAR 
Name="branch" --><!-- TMPL_ELSE --><!-- TMPL_IF NAME="holdingbranch" -->In 
transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR 
Name="branch" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --><!-- /TMPL_IF --></td>
! </tr>
  <!-- /TMPL_LOOP -->
  </table></div>




reply via email to

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