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

Owen Leonard oleonard at athenscounty.lib.oh.us
Fri Oct 6 15:29:34 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Owen Leonard <oleonard>	06/10/06 13:29:34

Modified files:
	koha-tmpl/intranet-tmpl/npl/en/circ: circulation.tmpl 

Log message:
	Refining and reformatting display of itemtype counts for restricted items

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/circ/circulation.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.6.2.17.2.7&r2=1.6.2.17.2.8

Patches:
Index: circulation.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/circ/Attic/circulation.tmpl,v
retrieving revision 1.6.2.17.2.7
retrieving revision 1.6.2.17.2.8
diff -u -b -r1.6.2.17.2.7 -r1.6.2.17.2.8
--- circulation.tmpl	5 Oct 2006 14:28:46 -0000	1.6.2.17.2.7
+++ circulation.tmpl	6 Oct 2006 13:29:34 -0000	1.6.2.17.2.8
@@ -140,23 +140,18 @@
 	<h3><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h3>
 <h4> &nbsp; &nbsp; <!-- TMPL_VAR NAME="issuecount" --> out<!-- TMPL_IF NAME="overduecount" -->, <span class="error"><!-- TMPL_VAR name="overduecount" --> overdue</span><!-- /TMPL_IF --></h4> 
 
-
+<!-- TMPL_LOOP NAME="issued_itemtypes_count_loop" -->
 <h4> &nbsp; &nbsp;
-<!-- TMPL_IF NAME="videocount" --><!-- TMPL_VAR NAME="videocount" --> Video Issues, <!-- TMPL_IF NAME="videoflag" --><span class="error">Video Limit Reached!</span><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="videoleftcount" --> More Allowed<!-- /TMPL_IF --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="videoleftcount" --> Video Issues Allowed<!-- /TMPL_IF --></h4>
-
-<h4> &nbsp; &nbsp;<!-- TMPL_IF NAME="musiccdcount" --><!-- TMPL_VAR NAME="musiccdcount" --> Music CD Issues, <!-- TMPL_IF NAME="musiccdflag" --><span class="error">Music CD Limit Reached!</span><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="musiccdleftcount" --> More Allowed<!-- /TMPL_IF --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="musiccdleftcount" --> Music CD Issues Allowed<!-- /TMPL_IF --></h4>
-
-<h4> &nbsp; &nbsp;<!-- TMPL_IF NAME="audiobookcount" --><!-- TMPL_VAR NAME="audiobookcount" --> Audio Book Issues, <!-- TMPL_IF NAME="audiobookflag" --><span class="error">Audio Book Limit Reached!</span><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="audiobookleftcount" --> More Allowed<!-- /TMPL_IF --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="audiobookleftcount" --> Audio Book Issues Allowed<!-- /TMPL_IF --></h4><br clear="right" />
 
+<!-- TMPL_IF NAME="count" --><!-- TMPL_VAR NAME="count" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --> <!-- TMPL_VAR NAME="description" --> out, <!-- TMPL_IF NAME="flag" --><span class="error"><!-- TMPL_VAR NAME="maxissueqty" --> <!-- TMPL_VAR NAME="itemtype" --> Limit Reached!</span><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="left" --> More Allowed<!-- /TMPL_IF --></h4>
+<!-- /TMPL_LOOP -->
 
 <!-- TMPL_IF NAME="flagged" -->
 </div><div class="details">
 <ul>
-<!-- TMPL_IF NAME="videoflag" --><li>Patron has reached the <span class="error">Video issue limit</span></li><!-- /TMPL_IF -->
-<!-- TMPL_IF NAME="musiccdflag" --><li>Patron has reached the <span class="error">Music CD issue limit</span></li><!-- /TMPL_IF -->
-<!-- TMPL_IF NAME="audiobookflag" --><li>Patron has reached the <span class="error">Audio Book issue limit</span></li><!-- /TMPL_IF -->
-</h4><br clear="right" />
-
+<!-- TMPL_LOOP NAME="issued_itemtypes_count_loop" -->
+<!-- TMPL_IF NAME="flag" --><li>Patron has reached the <span class="error"><!-- TMPL_VAR NAME="description" --> issue limit</span></li><!-- /TMPL_IF -->
+<!-- /TMPL_LOOP -->
 <!--TMPL_IF Name="warndeparture"--><li><span class="error">Patron Expiration:</span> Patron Expires on <!-- TMPL_VAR NAME="expiry" --> <form class="inline compact" action="/cgi-bin/koha/members/setstatus.pl" method="post"><input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /><input type="hidden" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" /><input type="hidden" value="circ" name="destination" /><input type="hidden" name="renewaldate" value="<!-- TMPL_VAR NAME="renewaldate" -->" /><input type="submit" class="submit" value="Renew" /></form> <form class="inline compact" action="/cgi-bin/koha/members/memberentry.pl" method="get"><input type="hidden" name="modify" value="edit" /><input type="hidden" name="destination" value="circ" /><input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /><input type="submit" class="submit" value="Edit Details" /></form></li><!--/TMPL_IF-->
 <!-- TMPL_IF NAME="gna" -->
 <li><span class="error">Address:</span> Patron's address in doubt</li>





More information about the Koha-cvs mailing list