Fix for bug 1526 reserve status not showing on detail.pl
authorChris Cormack <crc@liblime.com>
Wed, 7 Nov 2007 18:30:10 +0000 (12:30 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 8 Nov 2007 23:14:15 +0000 (17:14 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl

index 0893cb6..05aa8fb 100644 (file)
                                     <!-- TMPL_IF name="itemlost"-->
                                         Item lost
                                     <!-- TMPL_ELSE -->
-                                    <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled<!-- TMPL_ELSE -->Available<!-- /TMPL_IF -->
+                                    <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled
+                                                                       <!-- TMPL_ELSE -->
+                                                                         <!-- TMPL_IF NAME="count_reserves" -->
+                                                                           <!-- TMPL_VAR NAME="count_reserves" -->
+                                                                         <!-- TMPL_ELSE -->
+                                                                            Available
+                                                                         <!-- /TMPL_IF -->
+                                                                       <!-- /TMPL_IF -->
                                     <!-- /TMPL_IF -->
                                 <!-- /TMPL_IF -->
                             <!-- /TMPL_IF -->