From e277ad95eba38c324ebf139bb8065a87bfc3f2b6 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 10 Jun 2009 20:23:52 -0400 Subject: [PATCH] Bug 2889: Added highlighting to smart-rules.tmpl Removed unused toggle variable form smart-rules.pl and added highlighting to smart-rules.tmpl through template __odd__. Signed-off-by: Galen Charlton --- admin/smart-rules.pl | 1 - .../prog/en/modules/admin/smart-rules.tmpl | 85 +++++++++++++++++++ 2 files changed, 85 insertions(+), 1 deletion(-) diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index 6e9f37181e..13ffa5c9ce 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -204,7 +204,6 @@ $sth->finish; $sth=$dbh->prepare("SELECT description,itemtype FROM itemtypes ORDER BY description"); $sth->execute; # $i=0; -my $toggle= 1; my @row_loop; my @itemtypes; while (my $row=$sth->fetchrow_hashref){ 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 a7ba2ccf97..0badb0c3ed 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 @@ -72,7 +72,11 @@ $(document).ready(function() { Loan Period  + + + + Default @@ -153,7 +157,11 @@ $(document).ready(function() {   + + + + Default @@ -187,6 +195,83 @@ $(document).ready(function() { +
+

+ For this library, you can edit rules for given itemtypes, regardless + of the patron's category. +

+

+ Currently, this means hold policies. + The various policies have the following effects: +

+
    +
  • From Any Library: Patrons from any library may put this item on hold. (default if none is defined)
  • +
  • From Home Library: Only patrons from the item's home library may put this book on hold.
  • +
  • No Holds Allowed: No patron may put this book on hold.
  • +
+

+ Note that if the system preference + AllowHoldPolicyOverride is enabled, these policies can + be overridden by your circulation staff. Also, these policies are + based on the patron's home branch, not the branch that + the reserving staff member is from. +

+
+
+
+ + "/> + + + + + + + + + + + + + + + + + + + + + + +
Item TypeHold Policy 
+ Default + + + + + From Any Library + + From Home Library + + No Holds Allowed + + + &branch=">Delete +
+ + + +
+
+
-- 2.39.5