Bug 11201: qa-followup
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 6 Mar 2015 09:29:30 +0000 (10:29 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 31 Mar 2015 14:30:55 +0000 (11:30 -0300)
- move h4 to h1
- Make the link on the circ home page depending on the pref

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt

index af67379..194e6d8 100644 (file)
@@ -1,3 +1,4 @@
+[% USE Koha %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Circulation</title>
 [% INCLUDE 'doc-head-close.inc' %]
@@ -46,7 +47,9 @@
        systems with large numbers of overdue items.</li>[% END %]
        <li>    <a href="/cgi-bin/koha/circ/branchoverdues.pl">Overdues with fines</a> - Limited to your library.  See report help for other details.</li>
 <!--   <li>    <a href="/cgi-bin/koha/circ/stats.pl?time=yesterday">Daily reconciliation</a></li> -->
-    <li><a href="/cgi-bin/koha/circ/on-site_checkouts.pl">On-site checkout list</a></li>
+    [% IF Koha.Preference('OnSiteCheckouts') %]
+        <li><a href="/cgi-bin/koha/circ/on-site_checkouts.pl">On-site checkout list</a></li>
+    [% END %]
 </ul>
        
        </div>
index 89a2ee4..9990b81 100644 (file)
@@ -41,7 +41,7 @@ $(document).ready(function(){
   <div id="bd">
     <div id="yui-main">
       <div class="yui-b">
-        <h4>Pending on-site checkout list</h4>
+        <h1>Pending on-site checkout list</h1>
         [% IF pending_onsite_checkouts %]
           <table id="pending_onsite_checkout">
             <thead>