From 8d4d96f30906e018a665cefee9d94d657cfb1226 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Wed, 10 Feb 2010 15:00:36 -0500 Subject: [PATCH] Bugfix: Make smart-rules.tmpl display zero values in fields. Since TMPL_IFs evaluate false if the template variable is 0, smart-rules.tmpl was not displaying zero values in fields where the db field value was indeed zero which leads to some small confusion. This patch removes the TMPL_IFs since those fields will always be populated with some value even if it is zero. Signed-off-by: Galen Charlton --- .../prog/en/modules/admin/smart-rules.tmpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl index 709b9b4183..5e5e183fb5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tmpl @@ -56,7 +56,7 @@ $(document).ready(function() { -
" /> + " />
@@ -100,14 +100,14 @@ $(document).ready(function() { - + - - - - - - + + + + + + &categorycode=&branch=">Delete @@ -198,7 +198,7 @@ $(document).ready(function() {
-

For this library, you can specify the maximum number of loans that +

For this library, you can specify the maximum number of loans that a patron of a given category can make, regardless of the item type.

If the total amount loanable for a given patron category is left blank, -- 2.39.5