[Koha-patches] [PATCH] bugfix: Add a message to circulation.pl if item is restricted

Michael Hafen mdhafen at tech.washk12.org
Wed Oct 1 17:48:18 CEST 2008


Don't know how this was missed.  If an item is restricted it isn't
allowed to be issued, but there is no message about why it can't be
issued, just the yellow box.

This adds a message saying "item is restricted".
---
 .../prog/en/modules/circ/circulation.tmpl          |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
index 7d965bc..5ee4ae1 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
@@ -153,6 +153,10 @@ $.tablesorter.addParser({
             <li>Item has been withdrawn</li>
         <!-- /TMPL_IF -->
 
+        <!-- TMPL_IF NAME="RESTRICTED" -->
+            <li>Item is restricted</li>
+        <!-- /TMPL_IF -->
+
         <!-- TMPL_IF NAME="GNA" -->
             <li>Patron's address is in doubt</li>
         <!-- /TMPL_IF -->
-- 
1.5.4.3




More information about the Koha-patches mailing list