Bug 5952: Add another tab for relatives issues
authorJulian Maurice <julian.maurice@biblibre.com>
Sat, 26 Mar 2011 09:49:10 +0000 (05:49 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 1 Apr 2011 08:03:15 +0000 (21:03 +1300)
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl

index b7e02d3..5351208 100644 (file)
@@ -644,6 +644,9 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
     <!-- TMPL_ELSE -->
             <a href="/cgi-bin/koha/circ/circulation.pl#checkouts">0 Checkouts</a>
     <!-- /TMPL_IF --></li>
+<!-- TMPL_IF NAME="displayrelissues" -->
+<li><a href="/cgi-bin/koha/circ/circulation.pl#relissues">Relatives Issues</a></li>
+<!-- /TMPL_IF -->
 <li><!-- TMPL_IF NAME="countreserv"-->
             <a href="/cgi-bin/koha/circ/circulation.pl#reserves"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
     <!-- TMPL_ELSE -->
@@ -822,8 +825,11 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
 <p>Patron has nothing checked out.</p>
 <!-- /TMPL_IF -->
 
+</div>
+
 
 <!-- TMPL_IF NAME="displayrelissues" -->
+<div id="relissues">
 <h2>Relatives issues</h2>
     <table id="relissuest">
     <thead>
@@ -887,9 +893,9 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
       </tbody>
     </table>
 </form>
-<!-- /TMPL_IF --><!-- end displayrelissues --> 
 
 </div>
+<!-- /TMPL_IF --><!-- end displayrelissues --> 
 
 
 <div id="reserves">
index d3e71ed..ad5731d 100644 (file)
@@ -393,6 +393,9 @@ function validate1(date) {
 <div id="finesholdsissues" class="toptabs">
        <ul>
                <li><a href="/cgi-bin/koha/members/moremember.pl#checkedout"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a></li>
+    <!-- TMPL_IF NAME="relissuecount" -->
+        <li><a href="/cgi-bin/koha/members/moremember.pl#relissues">Relatives issues</a></li>
+    <!-- /TMPL_IF -->
                <li><a href="/cgi-bin/koha/members/moremember.pl#finesandcharges">Fines &amp; Charges</a></li>
                <li><!-- TMPL_IF NAME="countreserv"-->
             <a href="/cgi-bin/koha/members/moremember.pl#onhold"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
@@ -507,8 +510,11 @@ function validate1(date) {
         </fieldset>
     <!-- TMPL_ELSE --><p>Patron has nothing checked out.</p>
 <!-- /TMPL_IF -->
+</div>
+
 
 <!-- TMPL_IF NAME="relissuecount" -->
+<div id="relissues">
        <h2>Relatives issues</h2>
  <table id="relissuest">
     <thead>
@@ -556,8 +562,8 @@ function validate1(date) {
   <!-- /tmpl_loop -->
         </tbody>
        </table>
-<!-- /TMPL_IF -->
        </div>
+<!-- /TMPL_IF -->
        
 <div id="onhold">
 <!-- TMPL_IF NAME="reservloop" -->