[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/circ branc... [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Mon Nov 20 11:26:49 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/11/20 10:26:49

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/circ: branchreserves.tmpl 
	                                      reserve.tmpl 

Log message:
	don't display table header if there is no table.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/circ/branchreserves.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2.2.2&r2=1.2.2.3
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/circ/reserve.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.4&r2=1.1.2.5

Patches:
Index: branchreserves.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/circ/branchreserves.tmpl,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -b -r1.2.2.2 -r1.2.2.3
--- branchreserves.tmpl	17 Nov 2006 14:57:22 -0000	1.2.2.2
+++ branchreserves.tmpl	20 Nov 2006 10:26:49 -0000	1.2.2.3
@@ -30,6 +30,7 @@
 	<!-- /TMPL_IF -->
 	<!-- TMPL_UNLESS NAME="message" -->
 	<div id="resultlist">
+	    <!-- TMPL_IF NAME="reserveloop" -->
 		<table>
 		<tr>
 			<th class="circulation" colspan="5">Reserves of your library</th>
@@ -76,6 +77,9 @@
 				</tr>
 			<!-- /TMPL_LOOP -->
 		</table>
+		<!-- TMPL_ELSE -->
+		    <b>No reserve found.</b>
+		<!-- /TMPL_IF -->
 	</div>
 	<!-- /TMPL_UNLESS -->
 </div>

Index: reserve.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/circ/Attic/reserve.tmpl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- reserve.tmpl	17 Nov 2006 14:57:22 -0000	1.1.2.4
+++ reserve.tmpl	20 Nov 2006 10:26:49 -0000	1.1.2.5
@@ -6,6 +6,7 @@
 <div id="mainbloc">
 	<h1>Items Reserved as of <!-- TMPL_VAR NAME="todaysdate" --></h1>
 	<div>
+	    <!-- TMPL_IF NAME="reserveloop" -->
 		<table>
 		<tr>
 			<th class="circulation">Priority</th>
@@ -41,6 +42,9 @@
 			</tr>
 		<!-- /TMPL_LOOP -->
 		</table>
+		<!-- TMPL_ELSE -->
+		    <b>No items found.</b>
+		<!-- /TMPL_IF -->
 	</div>
 </div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->





More information about the Koha-cvs mailing list