From 9b23c350862a3215671aca173330dd25a92b78af Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 13 Jan 2017 18:06:34 +0000 Subject: [PATCH] Bug 8361 (QA Followup) Add warnings - Added message to circulation.tt to warn if rule undefined for patron/itemtype combination To test: 1 - Remove all circ rules 2 - Add one rule 3 - Checkout to patron an itemtype that is outside of rule defined above 4 - Note explanation that no rule is defined Signed-off-by: Kyle M Hall (cherry picked from commit 63f7cbc777521c33f8ada3e1068be01b98da9050) Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index a937bf1976..49639fc1fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -241,7 +241,11 @@ $(document).ready(function() { [% END %] [% IF ( PATRON_CANT ) %] -
  • This patron can't check out this item per library circulation policy
  • +
  • This patron can't check out this item per library circulation policy.
  • +[% END %] + +[% IF ( TOO_MANY and TOO_MANY == 'NO_RULE_DEFINED' ) %] +
  • No circulation rule is defined for this patron and itemtype combination.
  • [% END %] [% IF ( NOT_FOR_LOAN_FORCING ) %] -- 2.39.2