FIX for 1418 (Notices (letters) overdues actions busted)
authorPaul POULAIN <paul@koha-fr.org>
Sun, 30 Sep 2007 20:22:33 +0000 (22:22 +0200)
committerChris Cormack <crc@liblime.com>
Sun, 30 Sep 2007 21:03:28 +0000 (16:03 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tmpl

index 7d62f19..b8081f0 100644 (file)
@@ -48,9 +48,9 @@
                 </ul>
             </div>
             <!--/TMPL_IF -->
+            <!-- TMPL_IF name="table" -->
             <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
                 <input type="hidden" name="op" value="save" />
-                    
                 <table>
                     <caption>Rules for overdue actions: <!--TMPL_IF Name="branch"--><!-- TMPL_VAR NAME="branch" --><!--TMPL_ELSE--> default branch <!--/TMPL_IF-->
                     <!--TMPL_IF Name="datasaved"-->
                 </table>
                 <input type="submit" value="Save Changes" />
             </form>
+            <!-- TMPL_ELSE -->
+                <div class="warning">You don't have defined a patron category, or the patron categories don't need overdue notices.</div>
+                <div class="warning">If this is not what you were expecting, go to <a href="../admin/categorie.pl">patron categories</p></div>
+            <!-- /TMPL_IF -->
     </div>
     </div>
     <div class="yui-b">